Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

GEtEnvironmentVariable.Run failed . Connection not configured for this service

(0) ShareShare
ReportReport
Posted on by 3,502

I have a canvas app , where i am calling a workflow , using this code:-

 

 

 

Set(varAppLink,GetEnvironmentVariables.Run("new_PowerAppsLink").value);
Set(varPermissionsGroup,GetEnvironmentVariables.Run("mlf_GroupsIDs").value);
Set(varShowTabs,GetEnvironmentVariables.Run("mlf_ShowAllTabs").value);

 

 

 

now this is working for all users on our development environment, but when i deploy this solution (as managed solution) to our PROD environment, all users except me is getting this error message "GetEnvironmentVariables.Run failed: connection not configured for this service" ...any advice?

 

johnjohn123_0-1686944811289.png

 

The flow mainly get some environment variables any return them to power app, as follow:-

 

johnjohn123_1-1686945218987.png

 

johnjohn123_2-1686945260335.png

 

any advice? is this a permission issue?

 

  • johnjohn123 Profile Picture
    3,502 on at
    Re: GEtEnvironmentVariable.Run failed . Connection not configured for this service

    @ManishSolanki thanks for the reply, but i did not share the flow with any users on the dev environment and it is working for them

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: GEtEnvironmentVariable.Run failed . Connection not configured for this service

    Hi @johnjohn123 

     

    You need to share the flow to all the users or group to which canvas app is shared. Also make sure that users should have 'basic user' access role in the environment.

     

    If this helps, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1