I am using the Power Apps for Makers connector's Get Environments action in Power Automate and Canvas Apps to retrieve environments available to the logged-in user.
The response returns environment properties like displayName, createdTime, and environmentType, but the properties.permissions object is always null or missing from the response.
- Power Automate cloud flow using the Get Environments action
- Canvas App using the Power Apps for Makers connector
- Power Apps (PowerFx) formula bar - like accessing the properties.permissions directly.
Get-PowerAppEnvironment | ForEach-Object {
[PSCustomObject]@{
EnvironmentName = $_.EnvironmentName
DisplayName = $_.DisplayName
Permissions = ($_.Internal.properties.permissions | ConvertTo-Json -Depth 10)
}
}
This script returns the full permissions block for each environment, including CreatePowerApp, CreateFlow, CreateCustomConnector, CreateDLPPolicy, and other permission fields. The same user, the same environments, but the connector does not return what the PowerShell module returns.The inconsistency:
The connector's own documented response schema at https://learn.microsoft.com/en-us/connectors/powerappsforappmakers/#get-environments lists permission fields like CreatePowerApp, CreateFlow, etc. in the response definition. This means the connector is designed to return these fields, but they are never populated in the actual response.
Did anyone face this issue? if yes, how did you resolve it. any suggestions, advice !!!!

Report
All responses (
Answers (