(收藏未来尝试)OFFICE 注册应用之修改应用密钥有效期 AzCli

date
Apr 21, 2022
slug
tip-office-azure-azcli-
status
Published
summary
小技巧
tags
tip
type
Post
URL

Problem & Summary

Azure CLI current version

网址:https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli
直链:https://azcliprod.blob.core.windows.net/msi/azure-cli-2.24.2.msi
  • https://azcliprod.blob.core.windows.net/msi/azure-cli-2.25.0.msi
  • https://azcliprod.blob.core.windows.net/msi/azure-cli-2.26.1.msi

Solution




Z:
cd Z:\AzCli
az login --allow-no-subscriptions

az ad app create --display-name Application --end-date 2099-12-31 --password App1icati0nPa55word --required-resource-accesses @manifest.json

az ad app permission admin-consent --id 3eb1d9a8-a9a2-4f18-xxxx-xxxxxxxxxxxx

Screenshots

notion image

© Ying Bun 2021 - 2022