Skip to main content

flow environment get

Gets information about the specified Microsoft Flow environment

Usage

m365 flow environment get [options]

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 http://jmespath.org/ for more information and examples.

-o, --output [output]

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

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

warning

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.

Examples

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

Response

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": "https://india.api.bap.microsoft.com",
"microsoft.CommonDataModel": "https://india.api.cds.microsoft.com",
"microsoft.PowerApps": "https://india.api.powerapps.com",
"microsoft.PowerAppsAdvisor": "https://india.api.advisor.powerapps.com",
"microsoft.PowerVirtualAgents": "https://powervamg.in-il101.gateway.prod.island.powerapps.com",
"microsoft.ApiManagement": "https://management.INDIA.azure-apihub.net",
"microsoft.Flow": "https://india.api.flow.microsoft.com"
},
"linkedEnvironmentMetadata": {
"type": "NotSpecified",
"resourceId": "3aa550bf-52ac-42fc-98f7-5d1833c1501c",
"friendlyName": "contoso (default)",
"uniqueName": "orgfc80770f",
"domainName": "orgfc80770f",
"version": "9.2.22105.00154",
"instanceUrl": "https://orgfc80770f.crm8.dynamics.com/",
"instanceApiUrl": "https://orgfc80770f.api.crm8.dynamics.com",
"baseLanguage": 1033,
"instanceState": "Ready",
"createdTime": "2019-12-25T15:46:14.433Z"
},
"environmentFeatures": {
"isOpenApiEnabled": false
},
"cluster": {
"category": "Prod",
"number": "101",
"uriSuffix": "in-il101.gateway.prod.island",
"geoShortName": "IN",
"environment": "Prod"
},
"governanceConfiguration": {
"protectionLevel": "Basic"
}
}
}
CTRL + M