Grant-CsApplicationAccessPolicy with az PowerShell command

Anonymous
2022-12-12T13:54:44.543+00:00

I am trying to give my app an access policy as a user.

The next commands work for me:

New-CsApplicationAccessPolicy -Identity myAPP-Link -AppIds "[my app id]" -Description "[description]"  
Grant-CsApplicationAccessPolicy -PolicyName myAPP-Link -Identity "[my user id]"  

I am trying to use the az command instead. Af far as I have seen, it should be something like:

az ad app permission grant --id 
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.