4 lines
507 B
PowerShell
4 lines
507 B
PowerShell
Import-Module $env:programfiles"\Microsoft Azure Active Directory Connect\AzureADSSO.psd1" -Scope process
|
|
New-AzureADSSOAuthenticationContext # This command should give you a popup to enter your tenant's Global Administrator credentials.
|
|
$creds = Get-Credential -Message "enter your local domain admin credentials"
|
|
Update-AzureADSSOForest -OnPremCredentials $creds # This command updates the Kerberos decryption key for the AZUREADSSO computer account in this specific AD forest and updates it in Azure AD. |