Blog

Disable user from creating group in Teams

Install azureAD Module PowerShellCopy To install the public preview release, usePowerShellCopy To allow user to create group we need to add $AllowGroupCreation = $True to script and re-run the scriptNOTE: Changes can take thirty minutes or more to take effect.  Disable user from creating group in teams Download the file and save as .ps1 More

Read More
Connect to exchange online

Install exchange online management Install-Module -Name ExchangeOnlineManagement——————————————-Import-Module ExchangeOnlineManagementSet-ExecutionPolicy RemoteSigned$UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection ////////////////////////////////////////////////////////////////////////////Import-PSSession $Session -DisableNameChecking More Details: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-protection-powershell?view=exchange-ps Connect to exchange online powershell with MFA Set-ExecutionPolicy RemoteSigned$UserCredential = Get-CredentialImport-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagementUpdate-Module -Name ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName sin@pheaktra.com -DelegatedOrganization vmotion363.onmicrosoft.com Connect to Exchange Online PowerShell

Read More
Fixing for existing(already exist)

Fixing for existing(already exist) user than cant migrate (MigrationPermanentException: Target user ‎’bunthoeurn sin‎‎’ already has a primary mailbox. –> Target user ‎’bunthoeurn sin‎’ already has a primary mailbox.) Get-MailUser -Identity sin@bunthoeurn | fl displayname,ExchangeGuid Move user to other OU Force sync in Azure AD connect Delete user from recycle bin in Azure AD Move user

Read More
After a failed move request, the mailbox is still marked is being moved and cannot be removed again

The onboarding move could not be created because user ‎is already being moved For this case have to check move request in exchange on-prem if there are moving mailbox. if yes we need to remove all move request and resume migration. Remove Move requestRemove-MoveRequest -Identity ann.oung@sbilhbank.com.kh Get Move request status Get-MoveRequest | fl Status, Protect,

Read More
Configure Password Writeback in Azure AD

In this post I will show you how to enable and configure password writeback in your Azure AD hybrid environment. By enabling password writeback feature you can synchronize password changes in Azure Active Directory back to your on-premises Active Directory environment. To enable password writeback feature, we use Azure AD Connect tool to that provides

Read More
Install ADTD

1.    Important considerations The tool does not implement any changes to infrastructure. All access is read-only. Active Directory Topology Diagrammer (hereinafter – the tool) should be run in all of the on-premises forests in case there are more than one. The tool can be run in any domain of the forest. There is no need

Read More
msExchRemoteRecipientType

When dealing with attributes synced to O365 via FIM \ DirSync \ AAD Sync, you will frequently encounter the msExchRemoteRecipient type attribute, previously empty in on-prem Exchange (only msExchRecipientTypeDetails and msExchRecipientDisplayType had values) the msExchRemoteRecipientType will have the following values depending on the object type and how the mailbox and archive were enabled \ moved to O365….

Read More