【问题标题】:Is there a PowerShell cmdlet to get the resources that reference a domain name in Azure Active Directory?是否有 PowerShell cmdlet 来获取引用 Azure Active Directory 中域名的资源?
【发布时间】:2020-07-13 18:13:30
【问题描述】:

在从 Azure Active Directory (AAD) 中删除自定义域之前,我首先需要获取引用该自定义域的所有用户、组和应用程序的列表。这可以通过 Azure 门户手动完成

有没有办法通过 PowerShell 获取此列表?我看到了 PowerShell cmdlet Get-MsolDomain,但我确实没有看到它输出了这种信息。

【问题讨论】:

标签: azure powershell azure-active-directory


【解决方案1】:

我建议使用模块 AzureAD 中的 cmdlet Get-AzureADDomainNameReference -Name ''

您可以从 PowerShell 库安装该模块 - https://www.powershellgallery.com/packages/AzureAD/

【讨论】:

    猜你喜欢
    • 2017-12-31
    • 2017-09-12
    • 1970-01-01
    • 1970-01-01
    • 2011-05-14
    • 2018-08-31
    • 1970-01-01
    • 1970-01-01
    • 2018-02-17
    相关资源
    最近更新 更多