April 26, 2018

Microsoft Azure Active Directory Management Tips

Microsoft Azure Active Directory Management Tips
Image result for azure ad
Sync On-Prem User "Full Sync: from PowerShell

Start-ADSyncSyncCycle -PolicyType Initial

https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-feature-scheduler

Check Features of AD Sync configured
https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsyncservice-features

Turn Off AD Sync
https://support.office.com/en-us/article/turn-off-directory-synchronization-for-office-365-ee5f861e-bd48-4267-83d1-a4ead4b4a00d

$UserCredential = Get-Credential
Connect-MsolService -Credential $UserCredential

MFA Users
Install-Module MSOnline
Connect-MsolService

Set-MsolDirSyncEnabled -EnableDirSync $false

Connect with the Azure Active Directory PowerShell for Graph module
Install-Module -Name AzureAD
$UserCredential = Get-Credential
Connect-AzureAD -Credential $UserCredential

If MFA

Connect-AzureAD

Connect Other Online Service Product

https://docs.microsoft.com/en-us/office365/enterprise/powershell/connect-to-office-365-powershell