Get the token for your Microsoft Entra ID account, on behalf of the on-premises service account
Mike Miller
7 steps
24 seconds
1
Right-click the start menu and select "Windows PowerShell (Admin)
2
Accept the UAC prompt
3
Set the variable for your service account credentials: "$pscreds = Get-Credential DOMAIN\ServiceAccount"
4
Enter the password for the service account
5
Type in the set-authentication command with your app values you should have saved when creating the app registration Set-AIPAuthentication -AppID "AppID" -AppSecret "AppSecret" -DelegatedUser "Cloud Account" -TenantId "TenantID" -OnBehalfOf $pscreds
6
Click "Input Capture Window"
7
You should see that it successfully acquired the access token on behalf of your service account
Get the token for your Microsoft Entra ID account, on behalf of the on-premises service account
Mike Miller
7 steps
24 seconds
1
Right-click the start menu and select "Windows PowerShell (Admin)
2
Accept the UAC prompt
3
Set the variable for your service account credentials: "$pscreds = Get-Credential DOMAIN\ServiceAccount"
4
Enter the password for the service account
5
Type in the set-authentication command with your app values you should have saved when creating the app registration Set-AIPAuthentication -AppID "AppID" -AppSecret "AppSecret" -DelegatedUser "Cloud Account" -TenantId "TenantID" -OnBehalfOf $pscreds
6
Click "Input Capture Window"
7
You should see that it successfully acquired the access token on behalf of your service account