question

vishwaa-2300 avatar image
0 Votes"
vishwaa-2300 asked

Access Denied. You do not have permissions to call this cmdlet.

Hi,

This error occurs randomly while running any Msol cmdlet. The cmdlet runs without any issues for a while but after a specific interval everytime this error occurs.Once I create a new session and try running the cmdlet then it works without any issues.

The behavior seems like session expiry, But the error message ' Access Denied. You do not have permissions to call this cmdlet.' confuses it.

1.what are the possible cases for this error ' Access Denied. You do not have permissions to call this cmdlet.' happening? Most search results suggests to add necessary admin role but the mentioned above is my case which doesn't seem like falling in the same.


windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers