Replies: 1 comment
-
if you enabled verbose logging, you will be able to see what the client is taking time on. The version we just release reorganizes the login flow and makes some assumptions about version to speed up login. The effect is a 'faster' client create and the first call your code makes shows the perf hit if the server cache has to be loaded. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have an implementation of using ServiceClient with external token management using the DefaultAzureCredential from Azure.Identity taking around 8 seconds to get authenticated from Dataverse. I am not sure why its taking that long and if there ways to bring the time down.
AccessToken newAccessToken = await _defaultCredential.GetTokenAsync(new TokenRequestContext(new[] { $"{environment}/.default" }));
were environment is the Dataverse URL.
Beta Was this translation helpful? Give feedback.
All reactions