azure-authentication

Microsoft Graph Api ROPC - AADSTS65001

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-11 12:42:37
问题 I have asp.net core web api which is talking to MS Garaph Api.I have Implemented ROPC using service account to talk to onedrive. I have created the MS graph Api app in MS Portal 2 years back using the same service account. The the portal is obsolete now and the App is moved to Azure Portal. But i can get the Bearer token using ROPC and consuming Graph api and its working good. Now i tried to mimic the same, i have created a new app in azure portal with same credentials and similar Metadata

Authentication Failure when Accessing Azure Blob Storage through Connection String

微笑、不失礼 提交于 2021-02-10 20:21:07
问题 We got error of Authentication fail, when we try to create an azure blob client from connection string, using python v12 sdk with Azure Blob Storage v12.5.0, and Azure core 1.8.2. I used azure-storate-blob == 12.5.0 azure-core == 1.8.2 I tried to access my blob storage account using connection string with Python v12 SDK and received the error above. The environment I'm running in is python venv in NixShell. The code for calling the blob_upload is as following: blob_service_client =

Authentication Failure when Accessing Azure Blob Storage through Connection String

别说谁变了你拦得住时间么 提交于 2021-02-10 20:19:29
问题 We got error of Authentication fail, when we try to create an azure blob client from connection string, using python v12 sdk with Azure Blob Storage v12.5.0, and Azure core 1.8.2. I used azure-storate-blob == 12.5.0 azure-core == 1.8.2 I tried to access my blob storage account using connection string with Python v12 SDK and received the error above. The environment I'm running in is python venv in NixShell. The code for calling the blob_upload is as following: blob_service_client =

401 unauthorized Azure management api

戏子无情 提交于 2021-02-08 10:21:17
问题 I'm calling azure management api to get the list of instances in a Cloud Service. The following code works when fiddler is active and constantly returns 401 unauthorized when it's not going through fiddler. I'm unable to determine the reason. Without Fiddler, the token is correctly returned, therefore, I don't understand why I'm getting an unauthorized. private HostedService GetCloudServiceProperties(string serviceName) { if (_client == null) { GetClient(); } string serviceProperties = string

Has azure user ids changed their format?

谁说胖子不能爱 提交于 2021-01-29 08:55:19
问题 Good evening ppl at Microsoft! I have an Mobile App Service at Microsoft Azure Located at South Central US named CeneamApp. My backend is configured in a way so that my user can access only the data they capture, by making use of stable user ids. so I had followed Adrian Hall book to create an a user id (https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter2/authorization/)with the following format sid:{identifier}as described here: (https://github.com/Azure/azure

MSAL - Problem acquiring token with IntegratedWindowsAuth

匆匆过客 提交于 2021-01-05 09:49:24
问题 I am using MSAL to acquire token from an auth app in Azure using integrated windows authentication. The code is: var tenant = $"https://login.microsoftonline.com/<myTenantId>"; var clientId = "<myClientId>"; var scopes = new string[] { "https://graph.microsoft.com/.default" }; var publicApplication = PublicClientApplicationBuilder.Create(clientId).WithAuthority(tenant).Build(); var token = await publicApplication.AcquireTokenByIntegratedWindowsAuth(scopes).ExecuteAsync(); This throws the