Priority
(Urgent) I can't use the CLI
Description
I have a number of Power Automate reporting Functions and they've recently stopped working. Upon checking, it appears that when running the m365 flow list and/or get commands, the following error is thrown:
{"error":"Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."}
I've tried using Managed Identity and Username/Password authentication and the error persists.
Steps to reproduce
m365 login --authType identity
m365 flow list -e $environmentId -o json --asAdmin | ConvertTo-Json
Expected results
A list of flows within the specified environment
Actual results
{"error":"Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."}
Diagnostics
Executing command flow list with options {"options":{"environmentName":"ENVIRONMENT_ID","output":"json","asAdmin":true,"debug":true}}
Existing access token ACCESS_TOKEN still valid. Returning...
Request:
{
"url": "https://management.azure.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/ENVIRONMENT_ID/flows?api-version=2016-11-01",
"method": "get",
"headers": {
"Accept": "application/json;odata.metadata=none",
"user-agent": "NONISV|SharePointPnP|CLIMicrosoft365/7.2.0",
"accept-encoding": "gzip, deflate",
"X-ClientService-ClientTag": "M365CLI:7.2.0",
"authorization": "Bearer ACCESS_TOKEN"
},
"responseType": "json",
"decompress": true
}
Request error:
{
"url": "https://management.azure.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/ENVIRONMENT_ID/flows?api-version=2016-11-01",
"status": 400,
"statusText": "Bad Request",
"headers": {
"cache-control": "no-store, no-cache",
"content-length": "182",
"content-type": "application/json; charset=utf-8",
"x-ms-ratelimit-remaining-tenant-reads": "11999",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-ms-islandgateway": "ga00000FM, GA0000001",
"x-ms-request-id": "uksouth:e849dd7c-66d0-4f9a-bb18-adfdefa0be10",
"x-ms-correlation-request-id": "bf21fc70-154a-4f40-a255-7ebc285abf7f",
"x-ms-flow-mobile-ios-version": "3.0.421",
"x-ms-flow-routing-request-id": "WESTEUROPE:20231211T202918Z:a4e2c349-d0d9-42b1-bddc-9b0546cbdab9",
"server-timing": "x-ms-igw-upstream-headers;dur=5.0,x-ms-igw-req-overhead;dur=0.7",
"x-content-type-options": "nosniff",
"x-ms-service-request-id": "9013f127-07a5-4330-95f1-dab9bc0a35f7",
"x-ms-correlation-id": "234d42d4-c30f-4135-b459-ab059468b236",
"x-ms-activity-vector": "IN.01.IN.0H.00",
"x-ms-routing-request-id": "WESTEUROPE:20231211T202918Z:bf21fc70-154a-4f40-a255-7ebc285abf7f",
"date": "Mon, 11 Dec 2023 20:29:17 GMT",
"connection": "close"
},
"error": {
"error": {
"code": "ArmEndpointDeprecatedForNewClients",
"message": "Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."
}
}
}
Timings:
api: 335.485127ms
core: 53.906741ms
command: 345.551597ms
options: 0.2166ms
total: 401.473732ms
validation: 0.907797ms
{"error":"Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."}
CLI for Microsoft 365 version
7.2.0
nodejs version
16.16.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Priority
(Urgent) I can't use the CLI
Description
I have a number of Power Automate reporting Functions and they've recently stopped working. Upon checking, it appears that when running the m365 flow list and/or get commands, the following error is thrown:
{"error":"Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."}I've tried using Managed Identity and Username/Password authentication and the error persists.
Steps to reproduce
m365 login --authType identity
m365 flow list -e $environmentId -o json --asAdmin | ConvertTo-Json
Expected results
A list of flows within the specified environment
Actual results
{"error":"Calling Power Automate through ARM is no longer supported. Please use \"https://api.flow.microsoft.com/\" instead."}Diagnostics
CLI for Microsoft 365 version
7.2.0
nodejs version
16.16.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response