📜  获取客户端机密 azure 应用注册 powershell - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:18.062000             🧑  作者: Mango

代码示例1
$startDate = Get-Date
$endDate = $startDate.AddYears(3)
$aadAppsecret01 = New-AzureADApplicationPasswordCredential -ObjectId f254eafb-5a7a-4df4-b9f4-ec0b70d5717e -CustomKeyIdentifier "Secret01" -StartDate $startDate -EndDate $endDate