[Role] az ad/role: Azure AD Graph API to Microsoft Graph API migration#22432
[Role] az ad/role: Azure AD Graph API to Microsoft Graph API migration#22432
az ad/role: Azure AD Graph API to Microsoft Graph API migration#22432Conversation
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
This is huge achievement. Nice work ! ! |
There was a problem hiding this comment.
The warning message has been updated.
|
History notes should be added after merging this PR to bypass "Check the Format of Pull Request Title and Content". History Notes [Role] BREAKING CHANGE: |
| PWD_REPLACEMENT = 'replaced-microsoft-graph-password' | ||
|
|
||
| def __init__(self): | ||
| self._activated = False |
There was a problem hiding this comment.
What's the purpose for _activated?
There was a problem hiding this comment.
This way, we can make this replacer's process_response only be called for /addPassword API, saving some time. I kept the original design of GraphClientPasswordReplacer and StorageAccountKeyReplacer.
(cherry picked from commit e8bfbd4)
|
Awesome job, great news! |
Thanks @lkurzyniec. 😊 You may refer to the release schedule here: https://github.com/Azure/azure-cli/milestone/118 |
Description
Resolve #12946
According to https://docs.microsoft.com/en-us/graph/migrate-azure-ad-graph-overview
This PR migrates the underlying API of
az adandaz rolefrom AD Graph API to Microsoft Graph API.Testing Guide
az ad sp create-for-rbac az ad app create --display-name mytestapp # Other commands under az ad ... az role ...History Notes
[Role] BREAKING CHANGE:
az az/role: Migrate the underlying API ofaz adandaz rolefrom AD Graph API to Microsoft Graph API. For more details, see Microsoft Graph migration