We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c1d935 + bc9b12f commit 3189aebCopy full SHA for 3189aeb
Microsoft.Toolkit.Graph/Providers/MockProvider.cs
@@ -45,6 +45,17 @@ private set
45
"https://proxy.apisandbox.msdn.microsoft.com/svc?url=" + HttpUtility.HtmlEncode("https://graph.microsoft.com/beta/"),
46
new DelegateAuthenticationProvider((requestMessage) =>
47
{
48
+ //// Temporary Workaround for https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/issues/59
49
+ //// ------------------------
50
+ var requestUri = requestMessage.RequestUri.ToString();
51
+ var index = requestUri.IndexOf("&");
52
+ if (index >= 0)
53
+ {
54
+ requestMessage.RequestUri = new Uri(requestUri.Remove(index, 1).Insert(index, "?"));
55
+ }
56
+
57
+ //// End Workaround
58
59
return this.AuthenticateRequestAsync(requestMessage);
60
}));
61
0 commit comments