Azure.Identity library from Microsoft to authenticate against Azure AD
Questions tagged [azure-identity]
174 questions
0
votes
1 answer
Restart azure identity management access review
I have some access reviews for Azure groups created as described here https://learn.microsoft.com/en-us/azure/active-directory/governance/create-access-review.
These access reviews must be reviewed yearly and have a duration of 7 days.
I missed…

Amateur
- 177
- 1
- 9
0
votes
1 answer
Azure Default Credential with Managed Identity not working (node)
I was trying to use a user-assigned managed identity with the DefaultAzureCredential, but am getting the 403 permissions mismatch error. I'm following the code example found in MS docs and it still fails. However, replacing the…

Switch386
- 454
- 6
- 19
0
votes
1 answer
Python DefaultAzureCredential get_token set expiration or renew token
I'm using DefaultAzureCredential from azure-identity to connect to Azure with service principal environment variables (AZURE_CLIENT_SECRET, AZURE_TENANT_ID, AZURE_CLIENT_ID).
I can get_token from a specific scope like databricks like this:
from…

BeGreen
- 765
- 1
- 13
- 39
0
votes
0 answers
How to get custom claims in access token not id token?
In my application, I created few attributes and added those custom attributes in optional claims section selecting both access token and id token.
In Manifest file of application, claims added to both types: access token and id token. But the…

Manjeet
- 13
- 4
0
votes
1 answer
Communicate to an Azure service bus from a different subscription
I created a service bus for a learning purpose, and I want to pass messages to it. I went through the official Microsoft documentation which teaches to use the DefaultAzureCredential so that the stored credentials in Visual Studio are gonna get…

Ayesh Nipun
- 568
- 12
- 28
0
votes
0 answers
Website publishing fails with error could not find a part of the path 'xxx\System.Runtime.InteropServices.RuntimeInformation.dll'
Application works fine in Visual Studio 2022 when debugging, but When trying to publish my Website project getting below error. The reference package is installed through NuGet package manager. Website project is running on .Net framwork 4.8.
Error …

Krish
- 17
- 2
0
votes
1 answer
How to filter custom directory roles from Powershell Or CLI
I have few custom directory roles with specific permissions. I attempted to do it from graph but no use, throwing errors.
Is there any other possible way to get that list from Powershell Or CLI.
Get-AzRoleDefinition
Getting all roles, how to add…

Sanam7
- 21
- 5
0
votes
1 answer
List custom created directory roles programmatically
I created some custom directory roles with specific permissions. I have to list these custom roles in a programmatic way.
This gives list of all directory roles in…

Sanam7
- 21
- 5
0
votes
1 answer
Sign Up/In not working in ASP. NET Core application: Azure B2C
We configured user flow with Google as identity provider. Followed the Azure-Sample repository on GitHub in building one ASP.NET Core webapp with .NET6.
appsettings.json:-
"AzureAdB2C": {
"Instance": "https://b2ctenant.b2clogin.com",
…

Kathiea
- 15
- 5
0
votes
1 answer
How to make all refresh tokens invalid for getting access token to make it more secure
Somehow I managed to reduce default access token lifetime to 30 minutes. This made tokens to expire or invalid after 30 minutes. Now the problem is few users already got refresh tokens along with access token before and using those to get access…

user000682
- 17
- 5
0
votes
0 answers
Unable to fetch the parameter from the POST method request via JMeter
Unable to fetch the values from the POST method request.
In my application we're using Azure AD for authentication. When I send the login credentials to the server I'm unable to see the response.
Three URL's have been used for login purpose. They're…

Ranjana V
- 1
- 1
0
votes
1 answer
SSRS 2016: Report Delivery Extension to send report email via MicrosoftGraph&AzureIdentity, but error in assembly version of Microsoft.Identity.Client
Microsoft announced the expiration of Basic Authentication in Exchange Online except STMP AUTH, but no guarantee on using it for long term. So, I decide to start the change with our Reports delivery in SSRS 2016 which mainly via SMTP email right…

Hai Nguyen
- 25
- 4
0
votes
0 answers
How do Azure TokenCredentials support CAE like direct MSAL does in re-requesting an auth token with a claims challenge?
Using MSAL directly, you end up adding the following to support CAE, so when an API call that used a _clientApp-obtained bearer token on it fails with 401 and has certain header info sent back which identifies that there is a claims challenge to…

redgiant
- 474
- 5
- 14
0
votes
1 answer
Where to find TemplateId while creating custom directory role MS Graph
I want to create custom directory role with specific permissions…

Sanam7
- 21
- 5
0
votes
0 answers
SharePoint The caller is not authenticated intermittently for Java GraphServiceClient
I have an application, which uses com.microsoft.graph.requests.GraphServiceClient (microsoft-graph artifact version 5.28.0) for downloading files from SharePoint. I construct my GraphServiceClient instance with a pfx certificate through…

Daniel Polách
- 1
- 2