简体   繁体   中英

Authorization Issue Azure Blob Storage

I have an Azure Database Migration Project migrating an on-premises db to Azure SQL Managed Instance. The activity works fine pulling the database backup from the network location on-premises, but when it tries to apply the backup file from Azure Blob storage it says it does not have access to the file.

The Azure storage account has a storage endpoint, but I noticed that the storage account is not in the same resource group as my Managed Instance. Does that matter at all? Also is there a way to look at the logs for that authorization failure in the Azure Portal or Azure Storage Explorer?

Please check if you have set the role permission to access the Azure Storage: 在此处输入图像描述

Add role assignment:

  1. Role: choose the role (such as 'Contributor')
  2. Assign access to: Azure AD users, group, or service princpal
  3. Select: choose your Azure AD users, group, or service princpal.

在此处输入图像描述

Ref:https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM