Questions tagged [azure-adal-deprecation]
9 questions
2
votes
1 answer
ADAL to MSAL for SharePoint Online
I'm working on getting our existing service, which uses ADAL to get access tokens for SharePoint Online REST APIs, working using MSAL / v2.0 auth. We are using APIs that are NOT in the Graph API, so this is why we use the SPO APIs (i.e.…

Steve Peschka
- 1,015
- 11
- 25
1
vote
1 answer
ADAL to MSAL - Insufficient privileges to complete the operation
I have a scenario where I need to add an application to a security group from a DevOps pipeline. I have the following scenario that is working just fine:
in pipeline I have the following powershel script:
if (!((Get-AzADGroupMember -ObjectId…

soaloa
- 61
- 1
- 7
1
vote
1 answer
Microsoft Graph api to get token api returns No 'Access-Control-Allow-Origin' header is present on the requested resource
I am getting No 'Access-Control-Allow-Origin' header is present on the requested resource while trying to generate token using graph api in Angular 8 Application.
Is there any alternate way to manage this using microsoft-adal-angular6 npm to allow…

Harsh Gajjar
- 51
- 7
1
vote
1 answer
ADAL to MSAL migration (HttpActionContext.ControllerContext.RequestContext.Principal.IsAuthenticated getting false)
Our application is developed in angularjs and C#.I was using ADAL.js for azure ad login. As it is deprecating, we are migrating into MSALjs . I have removed all references of ADAL and replaced it with MSALand MSAL config is as below
authority:…

Jumbo
- 35
- 8
1
vote
1 answer
Facing issues in migrating from ADAL JS to MSAL JS
Hope you all are safe & sound, I was migrating my angular app authentication from ADAL JS to MSAL JS.
In ADAL JS, I have my ADAL Config as follows and the authentication works as expected:
adalConfig: {
tenant: 'GUID',
clientId: 'GUID',
…

Shahid Manzoor Bhat
- 1,307
- 1
- 13
- 32
0
votes
0 answers
How to migrate Microsoft.Extensions.Configuration.AzureKeyVault to MSAL
We're trying to migrate a net6.0 console from ADAL to MSAL. After removing packages- Microsoft.Extensions.Configuration.AzureKeyVault and Microsoft.IdentityModel.Clients.ActiveDirectory, we're getting compile time errors on…

samsu
- 63
- 8
0
votes
1 answer
How to acquire token by AD app ClientId and Client Secret with the Microsoft Authentication Library (MSAL)
The legacy ADAL library acquires a token by Clien App ID and Client Secret, something like:
var clientID = "";
var clientSecret = "";
var aadTenantDomain = "tenant domain";
var context = new…

Monte Cristo
- 61
- 6
0
votes
2 answers
Acquire Token by service account with MSAL
we are using ADAL to acquire tokens by a service account silently (no prompt, no redirect). This is our sample code:
var clientId = "";
var tenantDomain = "";
var userName = "";
var password = "";
var context = new…

Monte Cristo
- 61
- 6
0
votes
1 answer
Refresh the token in axios interceptors not working
I am using react-adal library to connect to ADFS. I am using axios interceptor to aquire token which will refresh the token silently as written in the docs, But it refresh the page when token is expired, let's user is filling the form and token…

APK
- 155
- 1
- 15