Share via


Operations - List Operations For Environment

List the available operations for an environment.
Returns a list of the available operations for an environment.

GET https://api.powerplatform.com/environmentmanagement/environments/{environmentId}/operations?api-version=2022-03-01-preview
GET https://api.powerplatform.com/environmentmanagement/environments/{environmentId}/operations?limit={limit}&continuationToken={continuationToken}&api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentId
path True

string

The environment ID.

api-version
query True

string

The API version.

continuationToken
query

string

The continuation token provided from a previous response.

limit
query

string

String indicating to limit the results.

Responses

Name Type Description
200 OK

OperationExecutionResultPagedCollection

OK

Media Types: "text/plain", "application/json", "text/json"

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default

Definitions

Name Description
Environment
ErrorInfo
JobStatus
OperationExecutionResult
OperationExecutionResultPagedCollection
OperationStatus

The operation status.

UserIdentity

Environment

Name Type Description
environmentId

string

The environment ID.

ErrorInfo

Name Type Description
code

string

The error code.

fieldErrors

object

JobStatus

Name Type Description
endTime

string (date-time)

The job end time.

name

string

The job name.

startTime

string (date-time)

The job start time.

status

string

The job status.

OperationExecutionResult

Name Type Description
endTime

string (date-time)

The end time.

errorDetail

ErrorInfo

jobStatuses

JobStatus[]

name

string

The result name.

operationId

string

The operation ID.

requestedBy

UserIdentity

startTime

string (date-time)

The start time.

status

OperationStatus

The operation status.

updatedEnvironment

Environment

OperationExecutionResultPagedCollection

Name Type Description
collection

OperationExecutionResult[]

continuationToken

string

The continuation token from a previous response.

OperationStatus

The operation status.

Value Description
Queued
InProgress
Succeeded
ValidationError
Failed
NoOperation
Validated

UserIdentity

Name Type Description
displayName

string

The display name.

tenantId

string

The tenant ID.

userId

string

The user ID.