在Azure Function中,使用如下代码读取Blob内容: try { // Retrieve the file from Azure Blob Storage BlobServiceClient bsclient = new BlobServiceClient(new Uri($"https://{SourceSA}.blob.core.chinacloudapi.cn"),new ManagedIdentityCredential(ClientID)); BlobContainerClient containerClient = bsclient....
编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected error occured while fetching the AAD Token. Please contact support with this provided Correlation IdStatus: 500 (Internal Server Error) 。 问题分...
问题描述 编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected error occured while fetching …
编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected error occured while fetching the AAD Token. Please contact support with this provided Correlation IdStatus: 500 (Internal Server Error) 。 问题分...
遇见了400(Bad Request)错误ManagedIdentityCredential authentication failed: Service request failed. 在Azure Funciton所匹配的Application Insights分析页面中,发现在GET /msi/token 请求返回400。 问题解答 查看Function代码,发现ClientID参数取值是从Application Setting引用Azure Key Vault的Secret值来实现的。 而400的错...
简介: 【Azure Function】Function App代码中使用Managed Identity认证获取Blob数据时遇见400报错 问题描述 在Azure Function中,使用如下代码读取Blob内容: try { // Retrieve the file from Azure Blob Storage BlobServiceClient bsclient = new BlobServiceClient(new Uri($"https://{SourceSA}.blob.core.china...
在Azure Function中,使用如下代码读取Blob内容: try { // Retrieve the file from Azure Blob Storage BlobServiceClient bsclient = new BlobServiceClient(new Uri($"https://{SourceSA}.blob.core.chinacloudapi.cn"),new ManagedIdentityCredential(ClientID)); BlobContainerClient containerClient = bsclient....
Learn how managed identities work in Azure App Service and Azure Functions, how to configure a managed identity and generate a token for a back-end resource.
在Azure Function中,使用如下代码读取Blob内容: try { // Retrieve the file from Azure Blob Storage BlobServiceClient bsclient = new BlobServiceClient(new Uri($"https://{SourceSA}.blob.core.chinacloudapi.cn"),new ManagedIdentityCredential(ClientID)); BlobContainerClient containerClient = bsclient....
编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected error occured while fetching the AAD Token. Please contact support with this provided Correlation IdStatus: 500 (Internal Server Error) 。