@Johan Sörman,
You are correct for the most part. If there are no permissions granted on the application registration in the Azure Portal then you won't be able to get a token. However, when a new registration is created there is a default permission that is added which is the Delegated Access permission
User.Read.
Regarding the multiple errors on the MSAL VBO, we can adjust the code of the action to give us more details. I assume you're using the
Get Auth Token - Client Secret action, correct? If so, open the Code stage on that action in the VBO. It should look like this:
Let's try adding this additional catch block:
catch (AggregateException ae)
{
StringBuilder exceptionMessages = new StringBuilder();
foreach (var e in ae.Flatten().InnerExceptions)
{
exceptionMessages.Append(e.Message);
exceptionMessages.Append("\n");
}
Exception = exceptionMessages.ToString();
}
So the final code will look like this:
Can you try that and see if you get additional exception details when using an Application Access token?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------