First time:
Install-Module ExchangeOnlineManagement
Commands:
Connect-ExchangeOnline
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true
Check:
Get-OrganizationConfig | Format-Table Name,OAuth* -Auto
First time:
Install-Module ExchangeOnlineManagement
Commands:
Connect-ExchangeOnline
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true
Check:
Get-OrganizationConfig | Format-Table Name,OAuth* -Auto
Batch file example
cd “%programfiles%\Common Files\Microsoft Shared\ClickToRun\”
officec2rclient.exe /update user updatetoversion=16.0.12730.20250
pause
https://docs.microsoft.com/en-us/officeupdates/update-history-microsoft365-apps-by-date
Steps to change Office 365 group Email address:-
Current SMTP address :- test.o365group@abcd.onmicrosoft.com
Required SMTP address :- test.o365group@abcd.com
Follow the below steps in power shell using Global Administrator Credentials,
1. Connect to Exchange Online via Power shell using Global Administrator Credentials and run the below commends. First two command run separately.
Set-ExecutionPolicy Unrestricted
Start-service winrm
Import-module MSOnline
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-MsolService -Credential $UserCredential
2. Run the below command to add required SMTP address as an alias.
Set-UnifiedGroup -Identity “X” -EmailAddresses: @{Add =”Y”}
here X is the Display Name of Office 365 group and Y is the required Email ID.
Set-UnifiedGroup -Identity “Test o365Group” -EmailAddresses: @{Add =”test.o365group@abcd.com”}
3. Promote alias as a primary SMTP address,
Set-UnifiedGroup -Identity “Test O365Group” -PrimarySmtpAddress “test.o365group@abcd.com”
4. If not required, you can remove first ID using below command.
Set-UnifiedGroup -Identity “Test o365Group” -EmailAddresses: @{Remove=”test.o365group@abcd.onmicrosoft.com”}
Source: Microsoft Tech Community
DNS add cname:
webmail mail.office365.com
Outlook
People
Right-click on contact group
Properties
Outlook Address Book
Tick “Show this folder as an e-mail Address Book”
Powershell (run as admin).
First time only:
Set-ExecutionPolicy RemoteSigned
To disable clutter for all users:
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Get-mailbox -ResultSize Unlimited | Set-Clutter -Enable $false
Remove-PSSession $Session
Source: Office365 Community
New Method 2020
Powershell
First time install:
Install-Module ExchangeOnlineManagement
Commands:
Connect-ExchangeOnline
Set-RemoteDomain Default -TNEFEnabled $false
Check with:
get-remotedomain |fl
Install update kb2553248 for Outlook 2010:
https://support.microsoft.com/en-us/kb/2553248
Alternatively install service pack 2 for Office 2010: