You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the access token being passed in as a string to the Microsoft365GroupsUtility.GetGroupsAsync function, on large tenants the operation can take several minutes to complete, sometimes exceeding the expiration time of the provided (stale?) access token.
The cmdlet will automatically refresh any expired access tokens and allow the operation to succeeded. I potential short term option would be to force a token refresh before passing it over to Microsoft365GroupsUtility.GetGroupsAsync, allowing a much longer period of time before token expiration.
What is the version of the Cmdlet module you are running?
1.12.0
Which operating system/environment are you running PnP PowerShell on?
Windows
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
The text was updated successfully, but these errors were encountered:
@joerodgers - can you please try with the latest version and let us know ? Its quite old and the latest version is 2.4.0 which has quite a few changes and updates.
Reporting an Issue or Missing Feature
Due to the access token being passed in as a string to the Microsoft365GroupsUtility.GetGroupsAsync function, on large tenants the operation can take several minutes to complete, sometimes exceeding the expiration time of the provided (stale?) access token.
Expected behavior
The cmdlet will automatically refresh any expired access tokens and allow the operation to succeeded. I potential short term option would be to force a token refresh before passing it over to Microsoft365GroupsUtility.GetGroupsAsync, allowing a much longer period of time before token expiration.
What is the version of the Cmdlet module you are running?
1.12.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: