If you want to list the users that have the Global/default app permissions policy assigned, you can use the following:
Get-CsOnlineUser -Filter {TeamsAppPermissionPolicy -eq $null}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to create script If users permission is global policy through script
Can any tell me how to create this script
If you want to list the users that have the Global/default app permissions policy assigned, you can use the following:
Get-CsOnlineUser -Filter {TeamsAppPermissionPolicy -eq $null}