azure - 我需要做什么才能删除这个已通过所有初始检查的 Azure Active Directory 租户?

标签 azure azure-active-directory

Microsoft 的 UI 显示所有初始检查均已通过,他们可以删除此 Azure Active Directory 租户。随后出现消息称 Microsoft 实际上无法删除租户。我还能做些什么来真正删除它吗?

enter image description here

编辑1 看来我得到了 403 enter image description here

我是租户中唯一剩下的用户,并且拥有全局管理员权限。

enter image description here

最佳答案

根据 Microsoft Documentation它说,
我们可以使用下面的PowerShell命令删除门户中无法删除的租户(企业应用)。

以下是上述文档中引用的步骤,

  • Open PowerShell as an administrator.
  • Run Connect-AzAccount -tenant <TENANT_ID>.
  • Sign in to Azure AD in the Global Administrator role.
  • Run Get-AzADServicePrincipal | ForEach-Object { Remove-AzADServicePrincipal -ObjectId $_.Id }.

有关此 PowerShell 命令的详细信息,请参阅 Remove-AzureADServicePrincipal.

还有Troubleshoot failed service request: Error 403 (Forbidden) .

关于azure - 我需要做什么才能删除这个已通过所有初始检查的 Azure Active Directory 租户?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72670192/

相关文章:

Azure AD B2C 自定义策略 - 动态绑定(bind) MultiCheckbox

c# - Msal.UserAgentApplication 不调用 msal.js 中的回调方法

python - Azure Python SDK - 仅在 VS Code 中调试时代码才会失败

visual-studio - Azure 未在 Visual Studio SSIS 工具箱中启用

.net - 使用 .NET JWT 中间件验证自定义 token 以及 Azure token

azure - 设置从 native 应用程序进行 Azure AD 身份验证的重定向 URI

azure - IDX10214 : Audience validation failed. 受众: '[PII is hidden]'

azure - 本地计算机上的日期时间与 Azure 不同

azure - 更新azure容器实例的镜像

azure - 如何查找常规 Azure API 连接支持的参数值?