简体   繁体   English

Azure AD - 如何使用云源获取组

[英]Azure AD - How to get groups with cloud source

I created multiple groups inside Azure AD, some of them are server source and the rest are cloud source.我在Azure AD里面创建了多个组,其中一些是服务器源,rest是云源。

Inside the token claims, I'm getting only the groups with server source, and not the groups with cloud source.在令牌声明中,我只得到具有服务器源的组,而不是具有云源的组。

I didn't find any config option for returning from both sources.我没有找到从两个来源返回的任何配置选项。

How can I get the groups from all the sources?我怎样才能从所有来源获取组?

To get the groups from all the sources, use the below powershell command要从所有来源获取组,请使用以下 powershell 命令

Get-AzureADMSGroup 

在此处输入图像描述

  • You can also add parameters您还可以添加参数

Please refer MSDoc Link1 and Link2 for more information.请参阅 MSDoc Link1Link2了解更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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