Connectors Reference

Power Automate Management

Power Automate Management connector enables interaction with Power Automate Management service. For example: creating, editing, and updating flows. Administrators who want to perform operations with admin privileges should call actions with the 'as Admin' suffix.

 

Status: Production

Tier: Standard

Version: 1.0

 

Actions:

Name

Summary

ListApis (string environmentName)

List Connectors

GetApi (string environmentName, string apiName)

Get Connector

CreateConnection (string environmentName, string apiName, [Optional]Connection connection)

Create Connection

ListConnections (string environmentName)

List My Connections

ListUserEnvironments ()

List My Environments

ListFlowOwners (string environmentName, string flowName)

List Flow Owners

ModifyFlowOwners (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

Modify Flow Owners

ListFlowUsers (string environmentName, string flowName)

List Flow Run-Only Users

ModifyRunOnlyUsers (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

Modify Run-Only Users

ListMyFlows (string environmentName)

List My Flows

CreateFlow (string environmentName, FlowWithConnectionReferences Flow)

Create Flow

GetFlow (string environmentName, string flowName)

Get Flow

DeleteFlow (string environmentName, string flowName)

Delete Flow

UpdateFlow (string environmentName, string flowName, FlowWithConnectionReferences Flow)

Update Flow

StopFlow (string environmentName, string flowName)

Turn Off Flow

StartFlow (string environmentName, string flowName)

Turn On Flow

ListFlowsInEnvironment (string environmentName, [advanced][Optional]integer $top)

List Flows as Admin

AdminModifyFlowOwners (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

Modify Flow Owners as Admin

AdminGetFlow (string environmentName, string flowName)

Get Flow as Admin

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

AdminFlow

 

AdminFlowProperties

 

AdminFlowWithConnectionReferences

 

AdminFlowWithConnectionReferencesProperties

 

Api

 

ApiConnectionParameters

 

ApiProperties

 

ApiPropertiesWithoutConnectionParameters

 

ApiWithoutConnectionParameters

 

Connection

 

ConnectionProperties

 

ConnectionPropertiesWithoutConnectionParameters

 

ConnectionReference

 

ConnectionReferencesDictionary

 

ConnectionWithoutConnectionParameters

 

DefinitionSummary

 

Environment

 

EnvironmentProperties

 

Flow

 

FlowPermission

 

FlowPermission[Add]

 

FlowPermission[Remove]

 

FlowProperties

 

FlowWithConnectionReferences

 

FlowWithConnectionReferencesProperties

 

ModifyFlowPermissionPayload

 

PermissionProperties

 

PermissionProperties[Add]

 

PermissionProperties[Remove]

 

Principal

 

Principal[Add]

 

Principal[Remove]

 

ResourceArray[AdminFlow]

 

ResourceArray[ApiWithoutConnectionParameters]

 

ResourceArray[ConnectionWithoutConnectionParameters]

 

ResourceArray[Environment]

 

ResourceArray[FlowPermission]

 

UserIdentity

 

 

Actions:

ListApis

Summary: List Connectors

Description: Lists all of the connectors available in the given environment. This list will include custom connectors as well as the built-in connectors.

 

Syntax:

PowerAutomateManagement.ListApis (string environmentName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

 

Returns:

          Type:ResourceArray[ApiWithoutConnectionParameters]

 

GetApi

Summary: Get Connector

Description: Get the given connector in an environment.

 

Syntax:

PowerAutomateManagement.GetApi (string environmentName, string apiName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

apiName

string

(Connector)

Select connector

True

ListApis

 

Returns:

          Type:Api

 

CreateConnection

Summary: Create Connection

Description: Create a connection for the given connector in an environment.

 

Syntax:

PowerAutomateManagement.CreateConnection (string environmentName, string apiName, [Optional]Connection connection)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

apiName

string

(Connector)

Select connector

True

ListApis

connection

Connection

 

 

False

 

Returns:

          Type:Connection

 

ListConnections

Summary: List My Connections

Description: Lists all your connection available in the given environment.

 

Syntax:

PowerAutomateManagement.ListConnections (string environmentName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

 

Returns:

          Type:ResourceArray[ConnectionWithoutConnectionParameters]

 

ListUserEnvironments

Summary: List My Environments

Description: List the environments you have access to.

 

Syntax:

PowerAutomateManagement.ListUserEnvironments ()

 

Returns:

          Type:ResourceArray[Environment]

 

ListFlowOwners

Summary: List Flow Owners

Description: List all owners of the given flow in an environment.

 

Syntax:

PowerAutomateManagement.ListFlowOwners (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

          Type:ResourceArray[FlowPermission]

 

ModifyFlowOwners

Summary: Modify Flow Owners

Description: Modify owners of the given flow in an environment.

 

Syntax:

PowerAutomateManagement.ModifyFlowOwners (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

permissions

ModifyFlowPermissionPayload

 

 

True

 

Returns:

 

ListFlowUsers

Summary: List Flow Run-Only Users

Description: List all run only users of the given flow in an environment.

 

Syntax:

PowerAutomateManagement.ListFlowUsers (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

          Type:ResourceArray[FlowPermission]

 

ModifyRunOnlyUsers

Summary: Modify Run-Only Users

Description: Modify run-only users of the given flow in an environment.

 

Syntax:

PowerAutomateManagement.ModifyRunOnlyUsers (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

permissions

ModifyFlowPermissionPayload

 

 

True

 

Returns:

 

ListMyFlows

Summary: List My Flows

Description: List all flows you created in the given environment.

 

Syntax:

PowerAutomateManagement.ListMyFlows (string environmentName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

 

Returns:

          Type:ResourceArray[AdminFlow]

 

CreateFlow

Summary: Create Flow

Description: Create flow

 

Syntax:

PowerAutomateManagement.CreateFlow (string environmentName, FlowWithConnectionReferences Flow)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

Flow

FlowWithConnectionReferences

 

 

True

 

Returns:

          Type:Flow

 

GetFlow

Summary: Get Flow

Description: Get the given flow in an environment.

 

Syntax:

PowerAutomateManagement.GetFlow (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

          Type:FlowWithConnectionReferences

 

DeleteFlow

Summary: Delete Flow

Description: Delete the given flow in an environment

 

Syntax:

PowerAutomateManagement.DeleteFlow (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

 

UpdateFlow

Summary: Update Flow

Description: Update the given flow in an environment.

 

Syntax:

PowerAutomateManagement.UpdateFlow (string environmentName, string flowName, FlowWithConnectionReferences Flow)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

Flow

FlowWithConnectionReferences

 

 

True

 

Returns:

          Type:Flow

 

StopFlow

Summary: Turn Off Flow

Description: Stop the given flow in an environment.

 

Syntax:

PowerAutomateManagement.StopFlow (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

 

StartFlow

Summary: Turn On Flow

Description: Start the given flow in an environment.

 

Syntax:

PowerAutomateManagement.StartFlow (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListMyFlows

 

Returns:

 

ListFlowsInEnvironment

Summary: List Flows as Admin

Description: List all flows in the given environment you have admin access to.

 

Syntax:

PowerAutomateManagement.ListFlowsInEnvironment (string environmentName, [advanced][Optional]integer $top)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

$top

integer

(Top count)

Top count

False

 

Returns:

          Type:ResourceArray[AdminFlow]

 

AdminModifyFlowOwners

Summary: Modify Flow Owners as Admin

Description: Modify owners of the given flow created in an environment you have admin access to.

 

Syntax:

PowerAutomateManagement.AdminModifyFlowOwners (string environmentName, string flowName, ModifyFlowPermissionPayload permissions)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListFlowsInEnvironment

permissions

ModifyFlowPermissionPayload

 

 

True

 

Returns:

 

AdminGetFlow

Summary: Get Flow as Admin

Description: Get the given flow from an environment you have admin access to.

 

Syntax:

PowerAutomateManagement.AdminGetFlow (string environmentName, string flowName)

 

Parameters:

Name

Type

Summary

Required

Related Action

environmentName

string

(Environment)

Select environment

True

ListUserEnvironments

flowName

string

(Flow)

Select flow

True

ListFlowsInEnvironment

 

Returns:

          Type:AdminFlowWithConnectionReferences

 


 

AdminFlow

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Flow Name

 

properties

AdminFlowProperties

 

 


 

AdminFlowProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Flow Display Name

 

state

string

Flow State

Values: [Started, Stopped]

connectionReferences

ConnectionReferencesDictionary

 

 

createdTime

string(date-time)

Flow Created Time

 

lastModifiedTime

string(date-time)

Flow Modified Time

 

templateName

string

Flow Template Name

 

flowTriggerUri

string

Flow Trigger Uri

 

installationStatus

string

Flow Installation Status

Values: [NotApplicable, Uninstalled, Broken, Installed]

creator

UserIdentity

 

 

definitionSummary

DefinitionSummary

 

 


 

AdminFlowWithConnectionReferences

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Flow Name

 

properties

AdminFlowWithConnectionReferencesProperties

 

 


 

AdminFlowWithConnectionReferencesProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Flow Display Name

 

state

string

Flow State

Values: [Started, Stopped]

connectionReferences

array of (ConnectionReference)

 

 

createdTime

string(date-time)

Flow Created Time

 

lastModifiedTime

string(date-time)

Flow Modified Time

 

templateName

string

Flow Template Name

 

flowTriggerUri

string

Flow Trigger Uri

 

installationStatus

string

Flow Installation Status

Values: [NotApplicable, Uninstalled, Broken, Installed]

creator

UserIdentity

 

 

definitionSummary

DefinitionSummary

 

 


 

Api

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Connector Name

 

properties

ApiProperties

 

 


 

ApiConnectionParameters

Summary:

Description: API connection parameters

 

          Properties:

Name

Type

Summary


 

ApiProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Connector Display Name

 

createdTime

string(date-time)

Connection Created Time

 

connectionParameters

ApiConnectionParameters

 

API connection parameters

primaryRuntimeUrl

string

Connector Runtime Url

 

iconUri

string

Connector Icon Url

 


 

ApiPropertiesWithoutConnectionParameters

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Connector Display Name

 

createdTime

string(date-time)

Connection Created Time

 

primaryRuntimeUrl

string

Connector Runtime Url

 

iconUri

string

Connector Icon Url

 

isCustomApi

boolean

Connector is Custom Api

 

tier

string

Connector Tier

 


 

ApiWithoutConnectionParameters

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Connector Name

 

properties

ApiPropertiesWithoutConnectionParameters

 

 


 

Connection

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Connection Name

 

properties

ConnectionProperties

 

 


 

ConnectionProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Connector Display Name

 

apiId

string

Connector Id

 

createdTime

string(date-time)

Connection Created Time

 

lastModifiedTime

string(date-time)

Connection Last Modified Time

 

connectionParameters

ApiConnectionParameters

 

API connection parameters


 

ConnectionPropertiesWithoutConnectionParameters

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Connector Display Name

 

apiId

string

Connector Id

 

createdTime

string(date-time)

Connection Created Time

 

lastModifiedTime

string(date-time)

Connection Last Modified Time

 


 

ConnectionReference

Summary:

Description:

 

          Properties:

Name

Type

Summary

connectionName

string

Connection Name

 

displayName

string

Connection Display Name

 

id

string

Connector Id

 

apiDefinition

ApiWithoutConnectionParameters

 

 


 

ConnectionReferencesDictionary

Summary:

Description:

 

          Properties:

Name

Type

Summary


 

ConnectionWithoutConnectionParameters

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Connection Name

 

properties

ConnectionPropertiesWithoutConnectionParameters

 

 


 

DefinitionSummary

Summary:

Description:

 

          Properties:

Name

Type

Summary

triggers

array of (TriggersItem)

 

 

actions

array of (ActionsItem)

 

 

 

TriggersItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

type

string

Flow trigger type

 

kind

string

Flow trigger kind

 

 

ActionsItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

type

string

Action type

 

swaggerOperationId

string

Swagger operation Id

 

api

Api

 

 

 

Api

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Action Api name

 

id

string

Action Api id

 

type

string

Action Api type

 

 


 

Environment

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Environment Name

 

location

string

Environment Location

 

properties

EnvironmentProperties

 

 


 

EnvironmentProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Environment Display Name

 

description

string

Environment Description

 

createdTime

string(date-time)

Environment Created Time

 

lastModifiedTime

string(date-time)

Environment Last Modified Time

 

provisioningState

string

Environment Provisioning State

Values: [NotSpecified, Succeeded, Deleting, Deleted, Failed, FailedDeleting]

creationType

string

Environment Creation Type

Values: [NotSpecified, Legacy, DefaultTenant, User, CommonDataModelLegacy, Partner, Developer]

environmentSku

string

Environment Sku

Values: [NotSpecified, Standard, Premium, Developer, Basic]

environmentType

string

Environment Type

Values: [NotSpecified, Production, Sandbox]

isDefault

boolean

Is Default Environment

 


 

Flow

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Flow Name

 

properties

FlowProperties

 

 


 

FlowPermission

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Permission Name

 

properties

PermissionProperties

 

 


 

FlowPermission[Add]

Summary:

Description:

 

          Properties:

Name

Type

Summary

properties

PermissionProperties[Add]

 

 


 

FlowPermission[Remove]

Summary:

Description:

 

          Properties:

Name

Type

Summary

properties

PermissionProperties[Remove]

 

 


 

FlowProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Flow Display Name

 

definition

Definition

Flow Definition

 

state

string

Flow State

Values: [Started, Stopped]

connectionReferences

ConnectionReferencesDictionary

 

 

createdTime

string(date-time)

Flow Created Time

 

lastModifiedTime

string(date-time)

Flow Modified Time

 

templateName

string

Flow Template Name

 

flowTriggerUri

string

Flow Trigger Uri

 

installationStatus

string

Flow Installation Status

Values: [NotApplicable, Uninstalled, Broken, Installed]

 

Definition

Summary: Flow Definition

Description:

 

          Properties:

Name

Type

Summary

 


 

FlowWithConnectionReferences

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

Flow Name

 

properties

FlowWithConnectionReferencesProperties

 

 


 

FlowWithConnectionReferencesProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

displayName

string

Flow Display Name

 

definition

Definition

Flow Definition

 

state

string

Flow State

Values: [Started, Stopped]

connectionReferences

array of (ConnectionReference)

 

 

createdTime

string(date-time)

Flow Created Time

 

lastModifiedTime

string(date-time)

Flow Modified Time

 

templateName

string

Flow Template Name

 

flowTriggerUri

string

Flow Trigger Uri

 

installationStatus

string

Flow Installation Status

Values: [NotApplicable, Uninstalled, Broken, Installed]

creator

UserIdentity

 

 

definitionSummary

DefinitionSummary

 

 

 

Definition

Summary: Flow Definition

Description:

 

          Properties:

Name

Type

Summary

 


 

ModifyFlowPermissionPayload

Summary:

Description:

 

          Properties:

Name

Type

Summary

put

array of (FlowPermission[Add])

 

 

delete

array of (FlowPermission[Remove])

 

 


 

PermissionProperties

Summary:

Description:

 

          Properties:

Name

Type

Summary

roleName

string

 

Values: [Owner, CanEdit, CanView]

principal

Principal

 

 


 

PermissionProperties[Add]

Summary:

Description:

 

          Properties:

Name

Type

Summary

principal

Principal[Add]

 

 


 

PermissionProperties[Remove]

Summary:

Description:

 

          Properties:

Name

Type

Summary

principal

Principal[Remove]

 

 


 

Principal

Summary:

Description:

 

          Properties:

Name

Type

Summary

id

string

Object Id

 

displayName

string

Display Name

 

email

string

Email

 

type

string

Type

Values: [User, Group]

tenantId

string

Tenant Id

 

userPrincipalName

string

Principal Name

 

thumbnailPhoto

string

Owner Thumbnail Photo

 


 

Principal[Add]

Summary:

Description:

 

          Properties:

Name

Type

Summary

id

string

Add User Object Id

 

type

string

Add User Type

Values: [User, Group]


 

Principal[Remove]

Summary:

Description:

 

          Properties:

Name

Type

Summary

id

string

Remove User Object Id

 

type

string

Remove User Type

Values: [User, Group]


 

ResourceArray[AdminFlow]

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (AdminFlow)

 

 


 

ResourceArray[ApiWithoutConnectionParameters]

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (ApiWithoutConnectionParameters)

 

 


 

ResourceArray[ConnectionWithoutConnectionParameters]

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (ConnectionWithoutConnectionParameters)

 

 


 

ResourceArray[Environment]

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (Environment)

 

 


 

ResourceArray[FlowPermission]

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (FlowPermission)

 

 


 

UserIdentity

Summary:

Description:

 

          Properties:

Name

Type

Summary

tenantId

string

Creator tenant ID

 

objectId

string

Creator object ID

 

userId

string

Creator user ID

 

userType

string

Creator user type