Hi, I read many threads about Microsoft Graph and MSAL.net, but I didn't find my problem.
I am trying to authenticate to azure with delegated permission but am getting these errors.
When I run Microsoft Graph - Authentication::Get Delegated Access Token (Blue Prism VBO), the response was:
"invalid_grant","error_description":"AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.
When I run MSAL.NET::Get Auth Token - Username and Password (Blue Prism VBO), the response was:
System.AggregateException: Se han producido uno o varios errores. ---> Microsoft.Identity.Client.MsalUiRequiredException: AADSTS50079: Due to a configuration change made by your administrator, or because you moved to a new location, you must enroll in multi-factor authentication to access.
In the Azure logs we found that the device information was empty and Microsoft support informed us that we must add it in the code.
The device is already hybridized in azure. The user account too.
So we need to add the device data to the action, any idea how to do it?