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
When I run my code in visual studio, the GetWebLoginClientContext function display the authentication window, automatically close and return the ClientContext
Observed Behavior
If I publish my code to IIS and call GetWebLoginClientContext via browser UI, I got a error, the detail is
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Which PnP repository should you use to report the issue?
Environment
[x] Office 365 / SharePoint Online
.Net env: .Net framework 4.6.1
Package verson: Install-Package SharePointPnPCoreOnline -Version 3.27.2011
OS: Windows 10
Expected or Desired Behavior
When I run my code in visual studio, the GetWebLoginClientContext function display the authentication window, automatically close and return the ClientContext
Observed Behavior
If I publish my code to IIS and call GetWebLoginClientContext via browser UI, I got a error, the detail is
How to fix it ? Thanks.