Forum Discussion

PoorMens_Bravo's avatar
PoorMens_Bravo
Copper Contributor
Feb 23, 2024
Solved

New-applicationaccesspolicy is resulting in error

Hi,

I am running the below command and i am getting the below error

New-ApplicationAccessPolicy -AppId clientid -PolicyScopeGroupId grpname-GraphAppAccess -AccessRight RestrictedAccess -Description "Restrict application access to the members of group grpname-GraphAppAccess"

 

Write-ErrorMessage : A server side error has occurred because of which the operation could not be completed. Please try again after some time. If the problem still persists,
please reach out to MS support.

 

 

I am totally clueless of why i am seeing this message, i checked App is registered in Azure, grp is visible in Exchange 

  • Actually, I found what could be the issue. It is nothing but, i was doing a typo, instead of RestrictAccess i was keying RestrictedAccess.

2 Replies

Resources