Nov 27 2020
12:41 AM
- last edited on
Jan 14 2022
04:27 PM
by
TechCommunityAP
Nov 27 2020
12:41 AM
- last edited on
Jan 14 2022
04:27 PM
by
TechCommunityAP
I have found a way to set the user visibility to "no" using this powershell script:
Connect-AzureAD
$objectId = "<objectId>"
$servicePrincipal = Get-AzureADServicePrincipal -ObjectId $objectId
$tags = $servicePrincipal.tags
$tags += "HideApp"
Set-AzureADServicePrincipal -ObjectId $objectId -Tags $tags
I was wondering if there's an equivalent graph API endpoint/method for this? Thanks in advance!
Nov 27 2020 09:22 AM
That's simply adding a new tag, you can do it via the Graph API as PATCH operation: https://docs.microsoft.com/en-us/graph/api/application-update?view=graph-rest-1.0&tabs=http