Forum Discussion

nabi04's avatar
nabi04
Brass Contributor
Nov 27, 2020

Is there a graph API equivalent for hiding enterprise app from end users in Azure AD?

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!

Resources