简体   繁体   English

如何使用 Powershell 7 获取 Azure Active Directory 应用程序的密码?

[英]How to get Azure Active Directory application's password with Powershell 7?

I need to migrate to version 7 a PowerShell script that was used to create an Azure AD application with a custom password using New-AzADApplication cmdlet.我需要将 PowerShell 脚本迁移到版本 7,该脚本用于使用New-AzADApplication cmdlet 创建具有自定义密码的 Azure AD 应用程序。 However, with PowerShell version 7, New-AzADApplication no longer supports custom passwords .但是,对于 PowerShell 版本 7, New-AzADApplication 不再支持自定义密码 I've tried retrieving the automatically generated password from the output of this cmdlet but the credentials field in it is always empty.我尝试从该 cmdlet 的 output 检索自动生成的密码,但其中的凭据字段始终为空。 Is there a way to retrieve the password with any cmdlet in the Az.Resources module?有没有办法使用 Az.Resources 模块中的任何 cmdlet 检索密码?

Post creating the app registration you cannot retrieve the value of created Client Secret in any way.创建应用程序注册后,您无法以任何方式检索创建的 Client Secret 的值。

As shown in the below image:如下图所示:

在此处输入图像描述

You can refer this for more information about secretText .您可以参考这里以获取有关secretText的更多信息。

暂无
暂无

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

相关问题 在 PowerShell 中获取 Azure Active Directory 密码到期日期 - Get Azure Active Directory password expiry date in PowerShell 如何在Azure Active Directory应用程序中使用PowerShell删除identifierUris - How to remove identifierUris using PowerShell in Azure Active Directory Application 如何获取与powershell中的azure中创建的活动目录关联的租户ID - how to get the tenant ID associated with an active directory created in the azure in powershell 如何使用PowerShell获取为SQL Server分配的Azure Active Directory管理员? - How to get the assigned Azure Active Directory admin for SQL Server with PowerShell? Powershell中的Active Directory密码到期 - Active Directory password expiration in powershell 使用PowerShell检查Microsoft Azure Active Directory应用程序中是否存在IdentifierUris - Check if IdentifierUris exists in Microsoft Azure Active Directory Application using PowerShell 如何使用PowerShell脚本在Azure Active Directory中使用已注册的应用程序运行进程 - How to run process using a registered application in Azure Active Directory with powershell script Powershell:如何从 Azure Active Directory 用户获取名称 (Get-AzADUser) - Powershell: How do I get the name from Azure Active Directory user (Get-AzADUser) 在Powershell上使用Azure Active Directory进行身份验证 - Authenticating with Azure Active Directory on powershell 是否有 PowerShell cmdlet 来获取引用 Azure Active Directory 中域名的资源? - Is there a PowerShell cmdlet to get the resources that reference a domain name in Azure Active Directory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM