Connectors Reference

Power Automate for Admins

Power Automate Management Connector for Administrators

 

Status: Production

Tier: Standard

Version: 1.0.0

 

Actions:

Name

Summary

Remove-AdminFlow (string environment, string flow, [Optional]string api-version)

Remove Flow as Admin

Enable-AdminFlow (string environment, string flow, [Optional]string api-version)

Enable Flow as Admin

Disable-AdminFlow (string environment, string flow, [Optional]string api-version)

Disable Flow as Admin

Edit-AdminFlowOwnerRole (string environment, string flow, [Optional]string api-version, [Optional]string Content-Type, [Optional]Edit-AdminFlowOwnerRoleParameterBody body)

Edit Flow Owner Role as Admin

Get-AdminFlowOwnerRole (string environment, string flow, [Optional]string api-version)

Get Flow Owner Role as Admin

Get-AdminFlowUserDetails (string userId)

Get Flow User Details

Remove-AdminFlowUserDetails (string userId)

Remove Flow User Details

Remove-AdminFlowApproval (string environment, string userId)

Remove Flow Approval

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

Edit-AdminFlowOwnerRoleParameterBody

 

Get-AdminFlowOwnerRoleResponse

 

Get-AdminFlowUserDetailsResponse

 

 

Actions:

Remove-AdminFlow

Summary: Remove Flow as Admin

Description: Deletes a Flow.

 

Syntax:

PowerAutomateforAdmins.Remove-AdminFlow (string environment, string flow, [Optional]string api-version)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Environment Name)

Name field of the Environment.

True

flow

string

(Flow Name)

Name field of the flow.

True

api-version

string

(Field API Version)

The date value of the API version.

False

 

Returns:

 

Enable-AdminFlow

Summary: Enable Flow as Admin

Description: Enables a Flow.

 

Syntax:

PowerAutomateforAdmins.Enable-AdminFlow (string environment, string flow, [Optional]string api-version)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Name field of the Environment)

Environment Name.

True

flow

string

(Flow Name)

Name field of the flow.

True

api-version

string

(Field API Version)

The date value of the API version.

False

 

Returns:

 

Disable-AdminFlow

Summary: Disable Flow as Admin

Description: Disables a Flow.

 

Syntax:

PowerAutomateforAdmins.Disable-AdminFlow (string environment, string flow, [Optional]string api-version)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Environment Name)

Name field of the Environment.

True

flow

string

(Flow Name)

Name field of the Flow.

True

api-version

string

(Field API Version)

The date value of the API version.

False

 

Returns:

 

Edit-AdminFlowOwnerRole

Summary: Edit Flow Owner Role as Admin

Description: Sets permissions for a Flow.

 

Syntax:

PowerAutomateforAdmins.Edit-AdminFlowOwnerRole (string environment, string flow, [Optional]string api-version, [Optional]string Content-Type, [Optional]Edit-AdminFlowOwnerRoleParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Environment Name)

Name field of the Environment.

True

flow

string

(Flow Name)

Name field of the flow.

True

api-version

string

(Field API Version)

The date value of the API version.

False

Content-Type

string

(Field Content-Type)

Name Field of the Content-Type.

False

body

Edit-AdminFlowOwnerRoleParameterBody

 

 

False

 

Returns:

 

Get-AdminFlowOwnerRole

Summary: Get Flow Owner Role as Admin

Description: Returns permissions for a Flow.

 

Syntax:

PowerAutomateforAdmins.Get-AdminFlowOwnerRole (string environment, string flow, [Optional]string api-version)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Environment Name)

Name field of the Environment.

True

flow

string

(Flow Name)

Name field of the flow.

True

api-version

string

(Field API Version)

The date value of the API version.

False

 

Returns:

          Type:Get-AdminFlowOwnerRoleResponse

 

Get-AdminFlowUserDetails

Summary: Get Flow User Details

Description: Returns the details of a specified user in the scope of Power Automate.

 

Syntax:

PowerAutomateforAdmins.Get-AdminFlowUserDetails (string userId)

 

Parameters:

Name

Type

Summary

Required

Related Action

userId

string

(Field userId)

Flow user principal object ID.

True

 

Returns:

          Type:Get-AdminFlowUserDetailsResponse

 

Remove-AdminFlowUserDetails

Summary: Remove Flow User Details

Description: Deletes a Power Automate user details record.

 

Syntax:

PowerAutomateforAdmins.Remove-AdminFlowUserDetails (string userId)

 

Parameters:

Name

Type

Summary

Required

Related Action

userId

string

(Field UserId)

Flow user principal object ID.

True

 

Returns:

 

Remove-AdminFlowApproval

Summary: Remove Flow Approval

Description: Deletes Flow Approvals.

 

Syntax:

PowerAutomateforAdmins.Remove-AdminFlowApproval (string environment, string userId)

 

Parameters:

Name

Type

Summary

Required

Related Action

environment

string

(Environment Name)

Name field of the Environment.

True

userId

string

(Field userId)

Flow user principal object ID.

True

 

Returns:

 


 

Edit-AdminFlowOwnerRoleParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

delete

array of (DeleteItem)

 

delete

put

array of (PutItem)

 

Flow permission put array schema.

 

DeleteItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

id

string

 

Flow permission ID.

 

PutItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

properties

Properties

 

Flow permission properties object.

 

Properties

Summary:

Description: Flow permission properties object.

 

          Properties:

Name

Type

Summary

principal

Principal

 

Flow permission principal object.

roleName

string

 

Flow permission property roleName.

 

Principal

Summary:

Description: Flow permission principal object.

 

          Properties:

Name

Type

Summary

email

string

 

Flow permission principal email.

displayName

string

 

Flow permission principal displayName.

id

string

 

Flow permission principal object ID.

type

string

 

Flow permission principal type.

 


 

Get-AdminFlowOwnerRoleResponse

Summary:

Description:

 

          Properties:

Name

Type

Summary

value

array of (ValueItem)

 

Flow permission value object array.

 

ValueItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

 

Flow permission name field.

id

string

 

Flow permission ID field.

type

string

 

Flow permission type field.

properties

Properties

 

Flow permission properties object.

 

Properties

Summary:

Description: Flow permission properties object.

 

          Properties:

Name

Type

Summary

roleName

string

 

Flow permission property roleName.

permissionType

string

 

Flow permission property permission type.

principal

Principal

 

Flow permission principal object.

 

Principal

Summary:

Description: Flow permission principal object.

 

          Properties:

Name

Type

Summary

id

string

 

Flow permission principal object ID.

type

string

 

Flow permission principal type.

 


 

Get-AdminFlowUserDetailsResponse

Summary:

Description:

 

          Properties:

Name

Type

Summary

tenantId

string

 

Flow user tenantId.

puid

string

 

Flow user puid.

objectId

string

 

Flow user principal object ID.

isDisallowedForInternalPlans

boolean

 

Flow user isDisallowedForInternalPlans.

consentTime

string(date-time)

 

Flow user consentTime.

serviceSettingsSelectionTime

string(date-time)

 

Flow user serviceSettingsSelectionTime.

consentBusinessAppPlatformTime

string(date-time)

 

The Flow user's consentBusinessAppPlatformTime.