We created a new PowerApps environment - it is now "Dynamics365Instance" environment type.
Security is now administered differently - it is administered in the "Dynamics 365 user management center"
So we clicked the link, and clicked "Manage User Roles", we asigned both "Environment Maker" and "System Administrator" role to the user
The user can create a PowerApp, but cannot create flows.
In flow they get "Acces to the environment '' is denied"
Any ideas on what to do to get the security to work for flows?
If its working in PowerApps, but not in Flow then I would verify that they have a Flow license assigned to them. The Environment Maker and System Administrator roles will apply to both PowerApps and Flow. But the actual license is assigned seperately. If you are a member of the role but don't have a license then you will be denied access.
You can administer the role from the admin center -> Users -> Licenses assigned -> (check if the appropriate license has been assigned)
Also, for the new environement, you can try by assigning the System Administrator role to check if the flow can be created with that role. If Yes, you just have to re assign the "Environemnt Maker" role, log out of all windows and start a new session.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!