Adal and msal are only for authorization and not authentication correct? Once a user is logged in, you have to acquire. To help understand what a resource in azure ad/entra is:
Adal Ramones The Interview That Changed Everything Confiesa Que Un
The code looks like this:
I added an answer below which includes the.
I am running into problems now trying to do the same thing as in my adal project. I am working on an old codebase which is using adal silent token acquire and i need to update it to msal. During migration, i encountered a difficulty migrating a code that accesses. The concept of resource has seemingly vanished from aad v2.
Var aadtenantdomain = tenant domain. A resource is anything that is governed and protected by the azure entra (azure active directory) service. Where is this id from? I really don't want to use another aad app (native client) for getting on behalf of user token.
If this is the case, why do they reference msal and microsoft graph, what is the difference?
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. In the example it mentions: When i try to get access token using postman app, and supply the webapp aad app. The support for adal ends on june 30, 2022 and microsoft recommends migrating applications to msal.