...
\uD83C\uDF31 Solution 1 - AzureAD
Trouble validating with Azure AD Groups.
Ensure you are using the correct AOD configuration, set up with the correct Azure groups, and validate with the correct Azure user.
Make sure that the CapaOne Azure AD Integration is configured correctly. CapaOne Azure AD Integration | How to
Inspect logfile AdminOnDemand.log (The log file can be found in C:\ProgramData\CapaSystems\COA\Logs)
Validation result…. (AdminOnDemand.log )
Code Block | ||
---|---|---|
| ||
AzureAD\Simon is denied permission to elevate a session on client8 via the 'STH - Azure
Test' configuration. Removing the 'Start' button:
- No local security group has been configured
- AzureAD\Simon is NOT member of the AD group 'domain users'
- sth@capa.one is NOT member of the Azure group 'STH_Azure'
- sth@capa.one is NOT member of the Azure group 'Test af æøå og mellemrum' |
Run the commands below in a regular PowerShell.
Display current/available Azure contexts. Use this to check the contexts of the users on the device. If no or the wrong user context is shown, this might cause a problem.
Code Block | ||
---|---|---|
| ||
Get-AzContext -ListAvailable |
Clear the current context. If the wrong user is listed, this will clear it.
Code Block | ||
---|---|---|
| ||
Clear-AzContext -Scope CurrentUser -Force; |
Find the Current User.
Code Block | ||
---|---|---|
| ||
whoami /upn |
Display the device state. If the device is not AzureAdJoined/EnterpriseJoined or WorkplaceJoined, it might not prompt the user for Azure login.
Code Block | ||
---|---|---|
| ||
dsregcmd /status |
...
Check Work or School user. Open Windows settings, click Accounts on the left and then click on Access Work of School. If no user is shown, then no user is connected.
...
Use the “Sign-in Diagnostic“ tool on your Azure portal to see user sign-in events. This might give a hint as to why AOD Azure validation is falling.
Log in to the Azure portal and select Microsoft Entra ID
Click on Diagnose and solve problems in the left menu
Click on the Troubleshoot text in the Sign-in Diagnostic box
Click on All Sign-In Events, now search for the user who has trouble with AOD, and look at the sign-in events
Validating with Azure Groups when offline
Here are three scenarios you could run into where you will use Offline Validating.
Azure login is down
No Microsoft login will be shown; instead, it will use the WHOAMI /UPN to determine the user it will use.
It will still be looking up AzureGroups from CapaOne.
CapaOne is down
It will get the UPN when you log in via the Microsoft login window.
It will then use the cache file to match the UPN.
Azure login and CapaOne is down (offline)
Again, no Microsoft login will be shown. Instead, it will use WHOAMI /UPN to determine the user it will use.
Again, it will then use the cache file to match the UPN.
This would be a potential failure if the Azure UPN and the Windows UPN is different. We would either request groups for the wrong UPN or lookup the wrong cache file.
\uD83C\uDF31 Solution 2 - Missing Privileges
...