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

Brass Contributor

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!

1 Reply