microsoft / coe-starter-kit

Other
752 stars 225 forks source link

[CoE Starter Kit - Feature]: Surface if an Environment has PCF/code components flag enabled #4744

Closed manuelap-msft closed 1 year ago

manuelap-msft commented 1 year ago

Is your feature request related to a problem? Please describe.

From customers:

I like the concept of the Developer environments (ex "Community Plan"), when it is properly governed and the right DLP Policy is applied automatically. However... I have a concern regarding the code components. If anyone is able to create their own dev environment it's great, but it means they are also all able turn on the Power Apps component framework and import malicious components from the web...

image

Describe the solution you'd like

If code components are enabled is surfaced through the organization table in the environment.

Today, we don't query this table for Environments but it holds a lot of the environment configuration. We already query Dataverse tables in the environment for other resources, like Desktop Flows, Bots, AI Builder etc so this would follow the same path just for Environments.

Describe alternatives you've considered

No response

Additional context?

No response

manuelap-msft commented 1 year ago

This field is surfaced through the organization table in Dataverse of each environment - here's the flag: image

It's a column in the organization table, which has one row. image

Can report on it via the Environment Properties flow and loop through all environments.

manuelap-msft commented 1 year ago

Done:

To-Do:

CoEStarterKitBot commented 1 year ago

@manuelap-msft This has been fixed in the latest release. Please install the latest version of the toolkit following the instructions for installing updates. Note that if you do not remove the unmanaged layers as described there you will not receive updates from us.

silvafr1 commented 5 months ago

Hello, Do we have already this information regarding Environment with PCF/code components, in the Power BI Report? Thank you