Skip to content

az ad/role commands write WARNING for Microsoft Graph migration to stderr #21683

@ybadragon

Description

@ybadragon

Hello,
I have raised this issue previously the day it occurred on a separate repo and they directed me here. I've basically copy/pasted what I provided them, if you need any more information I'm happy to get that for you.

Enter Task Name: Azure CLI

Environment
Agent: Azure Pipelines - Windows 2019

Issue Description
Version 2.34.1 released on 03/03/2022 has started writing the following WARNING to Standard Error.

2022-03-09T21:20:20.2727785Z ##[error]WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
Version 2.33.1 does not output this log

I would expect a non-breaking change in a minor version update, and for warnings to not be written to standard error.

The reason I think it's the azure-cli update is due to a previous identical stage deployment being successful with the following output

2022-03-04T16:37:17.5507100Z Please let us know how we are doing: https://aka.ms/azureclihats 2022-03-04T16:37:17.5507851Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy 2022-03-04T16:37:17.5508203Z 2022-03-04T16:37:17.5508618Z core 2.33.1 * 2022-03-04T16:37:17.5509028Z telemetry 1.0.6 2022-03-04T16:37:17.5509244Z 2022-03-04T16:37:17.5509592Z Extensions: 2022-03-04T16:37:17.5510023Z azure-devops 0.23.0 2022-03-04T16:37:17.5510714Z 2022-03-04T16:37:17.5511152Z Dependencies: 2022-03-04T16:37:17.5511593Z msal 1.16.0 2022-03-04T16:37:17.5512091Z azure-mgmt-resource 20.0.0
While the deployment stage from today failed with the following output.

2022-03-09T21:20:01.1710425Z azure-cli 2.34.1 2022-03-09T21:20:01.1726313Z Please let us know how we are doing: https://aka.ms/azureclihats 2022-03-09T21:20:01.1726530Z 2022-03-09T21:20:01.1817675Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy 2022-03-09T21:20:01.1818168Z core 2.34.1 2022-03-09T21:20:01.1845698Z telemetry 1.0.6 2022-03-09T21:20:01.2363607Z 2022-03-09T21:20:01.2367621Z Extensions: 2022-03-09T21:20:01.2368534Z azure-devops 0.23.0 2022-03-09T21:20:01.2368813Z 2022-03-09T21:20:01.2369176Z Dependencies: 2022-03-09T21:20:01.2369551Z msal 1.16.0 2022-03-09T21:20:01.2369961Z azure-mgmt-resource 20.0.0

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botGraphaz adcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions