Azure AD 身份验证和为应用程序用户分配角色 [英] Azure AD authentication and assigning roles to application users

查看:21
本文介绍了Azure AD 身份验证和为应用程序用户分配角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个 .net 核心 MVC Web 应用程序,该应用程序使用启用了多租户的 Azure AD 身份验证.现在我想为我的用户添加自定义应用程序角色.为此,我在我的 azure WebApp 清单文件中添加了一些appRoles":但是现在如何将这些应用程序角色分配给我的用户?我正在使用 portal.azure.com,但我找不到任何可以将这些角色实际分配给我的应用程序用户的屏幕.请让我知道我可以从 Azure 门户中的哪个位置执行此操作?或者我是否需要我的 AD 团队的任何其他权限?如果需要,需要哪些特定权限?

I am working on a .net core MVC Web application that is making use of Azure AD authentication with multi tenants enabled.Now I want to add custom application roles to my users. For that I added some "appRoles": to my azure WebApp's manifest file. But now how do I assign these application roles to my users ? I am using portal.azure.com, and I could not find any screens where I can actually assign these roles to my application users. Could you please let me know me where I can do this from the azure portal?or do I need any additional permissions from my AD team?if so what specific permissions ?

推荐答案

您可以在 Enterprise applications 刀片中为应用程序分配具有角色的用户:

You could assign users with roles to application in Enterprise applications blade:

  1. 单击 Enterprise applications 刀片,单击 All applications 以找到您的应用程序,其中包含应用程序 ID 或显示名称:

  1. Click Enterprise applications blade , click All applications to find your application with app id or display name :

点击那个应用,点击Users and groups,你会得到当前分配的用户和已经分配的角色:

Click that application , click Users and groups , you will get current assigned users and which role has been assigned :

您可以点击添加用户和选择角色,您可以选择您在清单文件中设置的角色并分配给特定用户:

You could click add user and Select Role , you could select the roles you set in manifest file and assign to specific user :

这篇关于Azure AD 身份验证和为应用程序用户分配角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆