Use case : Open flow URL from dynamics crm 365 context.
Issue: How to get environment id of the flow url (Eg. https://us.flow.microsoft.com/manage/environments/
2f833504-48e4-405a-bf8e-b5536b9e8527/flows) from dynamics 365.
You could use WDL function to get the environment id contained in flow url.
I need the environment Id programmatically in dynamics crm (Eg. solutiuon, custom control, plugin etc.), not in the flow edit experience.
Hello @huseyinazizcan ,
I found a solution to this but I don't think it is supported.
You can get the Environment Id in Microsoft Dynamics using the following code
This returns a null value for me. In which context do you execute this function?
I tried to simply run it from the console by the way.
after some more digging, I figured out that this value gets written to the local storage after you click the flow button in the ribbon
yes, the fastest way to test this is to execute the script in the console. You could peek the local storage using the Application tab in the DevTools too.
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks