To help understand what a resource in azure ad/entra is: As far as i understand, since i’m inside an asp.net mvc application, azure ad is expecting a client_secret as opposed to a user’s username/password. In adal ,we had the following flows:
I added an answer below which includes the missing registry value, which you can add yourself. To get the access tok. Export adal_python_ssl_no_verify=1 which is suggested in the following post:
Where is this id from? I want to connect to azure sql server from an azure virtual desktop using azure ad integrated security. [azurestack] handle ssl verification for certs not in python root ca list #2267 but unfortunately none of the above produced any change in the outcome. Once a user is logged in, you have to acquire a tok.
If possible, i’d like the user to enter his username/password inside my textboxes and send them to adal in order to obtain a token. I use an ms access application that uses odbc (v17/v18) to connect to the sql server. In other words, it seems the only way to achieve my task is to: The browser based authentication dialog failed to complete.
We are trying to migrate from adal to msal using java. I am running into problems now trying to do the same thing as in my adal project. So how does one specify the resource url when acquiring an access token to the target api? A resource is anything that is governed and protected by the azure entra (azure active directory) service.
The concept of resource has seemingly vanished from aad v2. Usually, these resources are what your apps or services need to access. We use authorization code flow in oauth to get the refresh token and access token. In the example it mentions: