Hi @Mayura
For validating application access policy you can run this command Get-CsApplicationAccessPolicy
to check if the policy created successfully or not. If not please follow the below steps to create Application access policy.
As per this Microsoft Documentation, we need to identify the app’s application (client) ID in the Azure app registration portal
and place it in this command: New-CsApplicationAccessPolicy -Identity newApp-policy -AppIds "{application (client) ID}"
. In the next step we need to Identify the user's user (object) ID in the Azure user management portal and then use this command: Grant-CsApplicationAccessPolicy -PolicyName newApp-policy -Identity "{object ID}"
Please make sure you are using App ID in the command.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.