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
Using pnp.framework with .net framework 4.6.x in console and win from application works. However using pnp.framework in MVC web app with .net framework 4.6.x hangs, when calling method
public async Task GetContextAsync(string siteUrl, CancellationToken cancellationToken)
Tested accessing SPO with certificate app-only authentication, debugging in, specifically happens on .ConfigureAwait(false) in
catch block
Bolded below.
case ClientContextType.AzureADCertificate:
{
#pragma warning disable CS0618 // Type or member is obsolete
var accounts = await confidentialClientApplication.GetAccountsAsync().ConfigureAwait(false);
#pragma warning restore CS0618 // Type or member is obsolete
Using pnp.framework with .net framework 4.6.x in console and win from application works. However using pnp.framework in MVC web app with .net framework 4.6.x hangs, when calling method
public async Task GetContextAsync(string siteUrl, CancellationToken cancellationToken)
Tested accessing SPO with certificate app-only authentication, debugging in, specifically happens on .ConfigureAwait(false) in
catch block
Bolded below.
#pragma warning disable CS0618 // Type or member is obsolete
var accounts = await confidentialClientApplication.GetAccountsAsync().ConfigureAwait(false);
#pragma warning restore CS0618 // Type or member is obsolete
The text was updated successfully, but these errors were encountered: