PowerShell:从Azuread迁移到AZ模块 - 但找不到Get -azureadusermbership的替代品
我遇到了一个奇怪的问题 - 因为我在找到 az 的模块时遇到了麻烦, azuread cmdlet get -azureadusermembership 。
当似乎不存在 get-azadusermemhip get-azadusermemhip azadusermemhip azadusermemhip ?
问候,粘性
I'm having a strange issue - as I'm having trouble with locating the Az module pendent to the AzureAD cmdlet Get-AzureADUserMembership.
How do I retrieve a list off groups for a particular user, when Get-AzADUserMembership does not seem to exist?
Regards, Stickybit
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找不到AZMODULE中Get-azureadusermership的等效
物

在预览过程中,您不能在生产方面使用。
与 Microsoft支持团队有关详细信息。
在少数情况下,Microsoft Graph API的行为差异将引起破坏变化。
参考:
Azure AD到Microsoft Graph迁移,用于Azure命令行工具。 - Microsoft Tech社区
I couldn't find equivalent for Get-AzureADUserMembership in Azmodule but when i tried with the below commands:
Output:

It is in under preview process you cannot use in production side.
Reach out to the microsoft support team for detailed information.
In few cases, the behavioral difference of the Microsoft Graph API from the AzureAD Graph API will induce a breaking change.
Reference:
Azure AD to Microsoft Graph migration for Azure command line tools. - Microsoft Tech Community