microsoft / Power-Fx

Power Fx low-code programming language
MIT License
3.2k stars 323 forks source link

Set record status via pac power-fx #2507

Open lar-mar opened 4 months ago

lar-mar commented 4 months ago

We are currently using PowerShell scripts and the corresponding PS Modules to connect to Dataverse to set the status of specified records. e.g. SLA

When updating a SLA via Solution import you have to ensure it's activated afterwards again.

However, I now wanted to replace the PS usage with pac cli as it is available in Azure Pipelines without additional effort and Power-Fx is maybe easier to use.

When I want to update the status of record like SLA or process, I'm facing an error message: image

image

When I use the exactly same command within a Canvas app it works fine, so it seems it is a limitation of pac power-fx. Are there any plans to close this gap?

anderson-joyle commented 4 months ago

We are tracking this internally. There is no hard estimate but we are interested in fixing this soon.

anderson-joyle commented 4 months ago

For internal reference: https://github.com/microsoft/Power-Fx-Dataverse/issues/480