We use authorization code flow in oauth to get the refresh token and access token. I use an ms access application that uses odbc (v17/v18) to connect to the sql server. I want to connect to azure sql server from an azure virtual desktop using azure ad integrated security.
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. 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 added an answer below which includes the missing registry value, which you can add yourself.
In adal ,we had the following flows: I am running into problems now trying to do the same thing as in my adal project. The concept of resource has seemingly vanished from aad v2. I am using azure cli version 2.0.60 and python 3.
In other words, it seems the only way to achieve my task is to: 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. I'm trying to develop a vuejs single page application that logs you into aad so that i can get an access token to call various apis (e.g.
Once a user is logged in, you have to acquire a tok. Export adal_python_ssl_no_verify=1 which is suggested in the following post: To get the access tok. Usually, these resources are what your apps or services need to access.
To help understand what a resource in azure ad/entra is: [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. Where is this id from? We are trying to migrate from adal to msal using java.