Open elafnit opened 1 year ago
The MSAL library should work with any API secured by Azure AD. It is not exclusive to MS Graph. Could you provide an example of the command you are attempting run? I would expect your API identifier and scope name to be included via the Scope parameter.
I have many apps registered in AD exposing apis through APIM. Trying to use the access token provided by Get-MsalToken fails validation-jwt policy in APIM. This process worked previously when using ADAL. It appears the provided token contains a header nounce that isn't standard for jwt. Is there a switch or cmdlet to pull a token via msal that isn't styled for MS Graph exclusively?