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.