This download contains a Power Automate flow with an example of how to prevent runtime errors in case you need to update or delete records in Dynamics 365 Finance and Operations. The error occurs when you need to perform these actions in a company that is not set as your default company in Dynamics 365 Finance and Operations.
The example shows how you can change the company on the user options and revert it after the update or delete actions.
You can find an explanation in the next post: Multiple legal entities issue with the Fin & Ops Apps connector in Power Automate
Don’t forget to read the License.txt file before using the example.