I am working on a prototype with the following design:
Portal authenticates using Microsoft Azure with Multifactor Authentication and everything works fine. I can login and Authenticate with multifactor authentication.
I am now trying to connect to Portal via the ArcGIS Runtime .NET. I am following the code found in the online samples for oAuth.
The issue I am having is the OAuthClientInfo.ClientId does not seem to exists in Portal. When I do not supply a ClientId the challenge dialog does not display. When I enter a random ClientId the challenge dialog displays with the message invalid ClientId.
Where does the ClientId come from in Portal?