diff --git a/src/lib/PnP.Framework/AuthenticationManager.cs b/src/lib/PnP.Framework/AuthenticationManager.cs index d5c9481db..c2b6aa446 100644 --- a/src/lib/PnP.Framework/AuthenticationManager.cs +++ b/src/lib/PnP.Framework/AuthenticationManager.cs @@ -899,7 +899,7 @@ public async Task GetAccessTokenAsync(string[] scopes, CancellationToken { throw new ArgumentException($"{nameof(GetAccessTokenAsync)}() called without an ACS token generator. Specify in {nameof(AuthenticationManager)} constructor the authentication parameters"); } - return acsTokenGenerator.GetToken(null); + return acsTokenGenerator.GetToken(uri); } case ClientContextType.AccessToken: {