Hello @CADET Anthony
Thank you for reaching out. You can view Custom Security Attributes assigned to user using following ways:
Azure Portal
- Navigate to Users and select the user.
- Select the Custom security attributes (preview) blade.
PowerShell
- First, place the objectId of the user into the $userId object..
- Then view the customSecurityAttributes on that user.
- Next, save the customSecurityAttributes of that user to and object called $userCSA.
- Finally, view the AdditionalProperties of the customSecurityAttributes for the user.
Connect-MgGraph
Select-MgProfile -Name beta
$userId = 'ObjectId_of_user>'
Get-MgUser -UserId $userId -Property "customSecurityAttributes" | select -ExpandProperty customSecurityAttributes | fl
$userCSA = Get-MgUser -UserId $userId -Property "customSecurityAttributes"
$userCSA.CustomSecurityAttributes.AdditionalProperties | fl
Microsoft Graph API
URI: https://graph.microsoft.com/beta/users/<id>?$select=customSecurityAttributes
The response will look like this if there are no custom security attributes assigned to the user:
For more details you can review following document: Assign, update, list, or remove custom security attributes using the Microsoft Graph API (preview)
I hope this helps.
----------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.