-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{Lab} Migrate lab
command module to Microsoft Graph
#29889
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
AD |
lab
command module to Microsoft Graphlab
command module to Microsoft Graph
#29878 renamed
|
@@ -2339,11 +2339,10 @@ interactions: | |||
accept-language: | |||
- en-US | |||
method: GET | |||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 | |||
uri: https://graph.microsoft.com/v1.0/me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why #29878 marked test_lab_vm
as record_only
:
azure-cli/src/azure-cli/azure/cli/command_modules/lab/tests/latest/test_lab.py
Lines 19 to 20 in fd5779f
@record_only() | |
def test_lab_vm(self): |
so I manually edited the recording file.
src/azure-cli/azure/cli/command_modules/lab/tests/latest/recordings/test_lab_vm.yaml
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az lab
Description
This PR depends on #28105.
lab
command module directly useazure-graphrbac
SDK to call AD Graph.This PR migrates
lab
command module to call Microsoft Graph to address #22174.