Questions tagged [azure-identity]

Azure.Identity library from Microsoft to authenticate against Azure AD

174 questions
0
votes
1 answer

Whats the difference between SAS token and Oauth token in Azure

What is the difference between SAS token in https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview vs simply constructing oauth token via ClientSecretCredential in azure ? def auth_active_directory(self): # [START…
olaf
  • 239
  • 1
  • 8
0
votes
0 answers

The DbContext of type cannot be pooled because it does not have a single public constructor with UserAssignedManagedIdentity

I have a asp.net core application leveraging Azure SQL via the User Assigned ManagedIdentity created using Azure portal. In this implementation I am using Microsoft.EntityFrameworkCore version 2.2.6 I have the following code…
santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
0
votes
0 answers

I am trying to store the hashed password in password reset flow. It is giving me Internal Server Error in ADB2C Azure custom policy for password reset

I am using azure adb2c custom policies , my requirement is to block the user from using the last 10 password. So i am trying to store the password using password reset custom policies . I took the reference from here. I am getting internal server…
0
votes
1 answer

how to session timeout for MVC application when using Azure Identity authentication

How I can sign out user form ASP.NET MVC 4.7.2 (classic) application after 20 minutes inactivity or so. I have implemented Azure Identity platform (Azure AD Authentication) for authentication. Currently it does not timeout for several hours. Note:…
Jashvita
  • 553
  • 3
  • 24
0
votes
0 answers

Azure DefaultCredentials with IntelliJ not working because no AuthMethodDetails.json is written

I am trying to use Default Azure credential to connect to a Service Bus Queue from my Spring Boot application (Kotlin) and have trouble getting the setup to work locally with the IntelliJ plugin. I am trying to connect to a Service Bus queue to send…
peach
  • 657
  • 5
  • 26
0
votes
1 answer

How access info from Azure AD after user is authenticated prior to any action in ASP.Net MVC when using MS Identity platform (Azure AD Authentication)

I have created an app which is using Azure AD authentication. After user is authenticated, I want to get the user's unique Id and get the group information which I want to save in a session so then that group information can be fetched in any…
Jashvita
  • 553
  • 3
  • 24
0
votes
0 answers

not able to access azure keyvault from azure HD insights using managed identity

I have python script which runs on HDI spark cluster, and it access key vault to read secret values. The code would create SecretClient and use managed identity as credential. I have a user assigned managed identity set on HDI. But the SecretClient…
0
votes
1 answer

Logic app managed identity with Microsoft Graph API gives error "Insufficient privileges to complete the operation"

I want to call Microsoft Graph API from my logic app using managed identity but am getting the error Insufficient privileges to complete the operation. I have taken all the required steps mentioned in this document:…
prinkpan
  • 2,117
  • 1
  • 19
  • 32
0
votes
0 answers

Azure Managed Identity Permission/Credential issue

I'm trying to download a file (feed.csv) from Azure Storage Account Container. I'm authenticating using Managed Identity and the identity has "Owner" Role Assignment for the Storage Account. I'm assuming the authentication is successful as I'm able…
Adam
  • 3
  • 3
0
votes
1 answer

Managed Identity Authentication from non Azure VM

I would like to access from a Java application to an Azure Key Vault.I would like to use Managed Authentication. If I understand correctly this solution is only available using VM on Azure and is not possible on a server outside the Microsoft…
0
votes
1 answer

Error in ARM template deployment : Additional properties not allowed: userAssignedIdentities

I have a ARM template with below syntax, trying to add user assigned identity to AZ load test resource. "resources": [ { "type": "Microsoft.LoadTestService/loadtests", "apiVersion":…
Patri
  • 3
  • 4
0
votes
1 answer

Access tokens and id tokens

I am pretty new with these protocols, and I am having some trouble understanding something. I am currently working on an application which API and Frontend is mine, I use azure identity platform to receive the tokens on the clientside and send the…
0
votes
1 answer

Revoking a role from Azure User Assigned Managed Identity

Is it possible to revoke a role from a User Assigned Managed Identity? From Azure Portal Dashboard, there seem to be no way to revoke an access once you grant it. There is only an "Add" button to extend it but nothing to revoke an existing…
Benjamin
  • 3,499
  • 8
  • 44
  • 77
0
votes
1 answer

Azure Python SDK automation runbook - error - 'ClientSecretCredential' object has no attribute 'signed_session'

I found few posts related to Azure Python error message - 'ClientSecretCredential' object has no attribute 'signed_session', but I am testing my code from Azure portal, I am using Automation Account runbook. I prepared script for changing TLS…
0
votes
3 answers

How to cache token with Microsoft Graph for Java

I am using Microsoft Graph SDK for some requests however everytime I perform a GET request it does another request to get a token. I've tried reading documentation about this but I cannot find anything in Java. Here is my implementation of my…