Reputation: 162
I am trying to open a page restricted for intranet users which authenticates with single sign-on. However, I am unable to do this through UWP (fairly new to UWP so still haven't figured out the new namespaces and classes). I have tried the code below:
await Windows.System.Launcher.LaunchUriAsync(new Uri("https://abccompany.net"));
Now if I replace the url with google.com, this seems to work fine. However this fails for my enterprise's websites.
What am I doing wrong here?
Upvotes: 0
Views: 304
Reputation: 12993
From the Remarks section of Launcher.LaunchUriAsync Method:
You must specify the privateNetworkClientServer capability in the manifest in order to launch intranet URIs, for example a file:/// URI pointing to a network location.
You can do this by checking the Private Networks (Client and Server) option in the Capabilities section of Package Manifest.
Upvotes: 1