Skip to main content

flow environment get

Gets information about the specified Microsoft Flow environment


m365 flow environment get [options]


-n, --name [name]

The name of the environment to get information about. When not specified, the default environment is retrieved.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.


Runs command with verbose logging.


Runs command with debug logging.



This command is based on an API that is currently in preview and is subject to change once the API reached general availability.

If the environment with the name you specified doesn't exist, you will get the Access to the environment 'xyz' is denied. error.


Get information about a Microsoft Flow environment specified by name

m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5

Get information about the default Microsoft Flow environment

m365 flow environment get


Standard response

"name": "Default-d87a7535-dd31-4437-bfe1-95340acd55c5",
"location": "india",
"type": "Microsoft.ProcessSimple/environments",
"id": "/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5",
"properties": {
"displayName": "contoso (default)",
"createdTime": "2019-12-21T18:32:11.8708704Z",
"createdBy": {
"id": "SYSTEM",
"displayName": "SYSTEM",
"type": "NotSpecified"
"provisioningState": "Succeeded",
"creationType": "DefaultTenant",
"environmentSku": "Default",
"environmentType": "NotSpecified",
"states": {
"management": {
"id": "NotSpecified"
"runtime": {
"runtimeReasonCode": "NotSpecified",
"requestedBy": {
"displayName": "SYSTEM",
"type": "NotSpecified"
"id": "Enabled"
"isDefault": true,
"isPayAsYouGoEnabled": false,
"azureRegionHint": "centralindia",
"runtimeEndpoints": {
"microsoft.BusinessAppPlatform": "",
"microsoft.CommonDataModel": "",
"microsoft.PowerApps": "",
"microsoft.PowerAppsAdvisor": "",
"microsoft.PowerVirtualAgents": "",
"microsoft.ApiManagement": "",
"microsoft.Flow": ""
"linkedEnvironmentMetadata": {
"type": "NotSpecified",
"resourceId": "3aa550bf-52ac-42fc-98f7-5d1833c1501c",
"friendlyName": "contoso (default)",
"uniqueName": "orgfc80770f",
"domainName": "orgfc80770f",
"version": "9.2.22105.00154",
"instanceUrl": "",
"instanceApiUrl": "",
"baseLanguage": 1033,
"instanceState": "Ready",
"createdTime": "2019-12-25T15:46:14.433Z"
"environmentFeatures": {
"isOpenApiEnabled": false
"cluster": {
"category": "Prod",
"number": "101",
"uriSuffix": "",
"geoShortName": "IN",
"environment": "Prod"
"governanceConfiguration": {
"protectionLevel": "Basic"