I am using below settings in ADAL to access Azure AD.
this is settings someone used and I found in internet
public const string ApplicationId = "your-application-id"; public const string ReturnUri = "http://your-uri.com/"; public const string Authority = "https://login.windows.net/common"; public const string GraphResourceUri = "https://graph.windows.net";
this is my setting
public static string ApplicationID = "xxxx-xxxx-xxxx-xxxx-xxxxx"; public static string ReturnUri = "http://myAppName register in AzureAD"; public static string tenanturl = "https://login.microsoftonline.com/xxx-xxx-xxx-xxx-xxx"; public static string GraphResourceUri = "https://graph.microsoft.com";
Problem:
I hope someone can confirm the following:
a) Is Authority is same as tenanturl ? which one to use: login.windows.net or login.microsoftonline.com
b) which to use for GrapResourceUri: graph.windows.net or graph.microsoft.com
c) are the settings in 1 and 2 complete? or there is more settings to add.
d) the token return from Azure AD is SAML or JWT token?