Office365
MigrationWiz Error: “Your migration failed while checking source credentials. The request failed. The remote server returned an error: (404) Not Found.”
Connect to Office 365 PowerShell
Office 365 PowerShell Prerequisite Software:
These steps are only required once, however you may need to repeat them occasionally to install newer versions of the software.
If you are not running Windows 10, then you will need to install the 64-bit version of the Microsoft Online Services Sign-in Assistant: Microsoft Online Services Sign-in Assistant for IT Professionals RTW.
Install the Microsoft Azure Active Directory Module for Windows PowerShell with these steps:
Open an elevated Windows Read more [...]
Change UPN of all AD users in an OU
Issue: You need to change the User Principal Name (UPN) on a large group of users
Solution: The following command will allow you to change the UPN of all users contained in a chosen OU.
Get-ADUser -Filter * -SearchBase 'ou=yourOU,dc=yourDomain,dc=com' -Properties userPrincipalName | foreach {Set-ADUser $_ -UserPrincipalName "$($_.samaccountname)@newupndomain.com"}
To test your command and determine who it would apply to, use only this portion initially:
Get-ADUser -Filter * -SearchBase 'ou=yourOU,dc=yourDomain,dc=com' Read more [...]
How to exclude Office 365 Global Admin from password expiration policies
Issue: the password expiration of the Office 365 global administrator account will cause Azure AD Connect and DirSync to stop synchronizing on-prem AD to Office 365 Azure AD.
Prevention: One solution is to exclude your Office 365 global admin account from password policies and set it's password to never expire. Note: Always have a very strong password on your Office 365 global admin account.
launch an instance of Office 365 PowerShell connected to your tenant
Run the following command:
Set-MsolUser Read more [...]