如果我无权访问Azure

如果我无权访问Azure

本文介绍了如果我无权访问Azure Active Directory,是否可以使用DevOps部署到Azure应用服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过我的大学有一个Azure For Student订阅,我正在尝试研究如何使用Azure Pipelines将Angular应用程序部署到Azure App Service.

I have a Azure For Student subscription through my university and I'm trying to work out how to deploy an Angular app to an Azure App Service using Azure Pipelines.

在我的发布管道中,在部署到Azure App Service的步骤中,我必须选择一个订阅.当我单击授权时,出现以下错误.

In my Release pipelines, in the step to deploy to an Azure App Service, I have to select a subscription. When I click Authorize I get the below error.

似乎我无法创建服务连接,因为它需要访问Active Directory.我在大学的租户中,所以我无法访问它.

Seems I can't create a service connection because it requires access to Active Directory. I'm on my university's tenant so I don't have access to it.

如果我无权在Active Directory中创建帐户,是否可以使用Azure Pipelines解决此问题?

Is there a way around this I can use Azure Pipelines if I don't have access to create accounts in Active Directory?

推荐答案

通常在系统尝试代表您在Azure AD中创建应用程序时发生,这是一个权限问题,可能是由于以下原因引起的:

This typically occurs when the system attempts to create an application in Azure AD on your behalf and this is a permission issue that may be due to the following causes:

  • 用户在目录中仅具有来宾权限
  • 该用户无权在目录中添加应用程序

(1)如果您仅在AAD中具有来宾权限,请与管理员联系以为您授予最低其他权限.让管理员将来宾用户权限限制设置为.

(1) If you only have guest permission in AAD ,please contact the admin to grant the minimum additional permissions to you. Let the admin to set Guest user permissions are limited to No.

(2)如果您是AAD的成员,并且没有被授权在目录中添加应用程序.转到用户设置,然后在App registrations部分下将用户可以注册应用程序更改为.

(2) If you are the member of AAD, and just not be authorized to add applications in the directory. Go User settings, then change Users can register applications to Yes under App registrations section.

有关详细信息,请参考此疑难解答文档和类似的.

For details ,please refer to this troubleshoot document and similar ticket.

这篇关于如果我无权访问Azure Active Directory,是否可以使用DevOps部署到Azure应用服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 18:09