web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 556VSvhInDwhvYGs+m5VWE
Power Apps - Building Power Apps
Answered

The value for environment variable "XXXXXXXXXX" was not found in the environment.

Like (0) ShareShare
ReportReport
Posted on 21 Aug 2022 17:12:11 by 7,213 Super User 2025 Season 2

Hello All,

 

I am using custom connector in my Canvas app. This custom connector is using graph API. I follow ALM (Application Lifecycle management). ALM works perfectly fine. I am using new feature for easy deployment of custom connector to target environment. This new feature basically allow us to use Azure key vault secrets as environment variable. I am following this blog:  https://powerautomate.microsoft.com/en-us/blog/environment-variables-in-custom-connectors/

 

I have also followed this to configure Azure Key Vault as environment variable. However while updating the custom connector as mentioned in above blog, I get this error "The value for environment variable "XXXXXXXXXX" was not found in the environment."

 

I have already checked with that I have enough permission on azure vault, I am having system administrator rights on environment and I am the owner of custom connector too. Also checked the Data verse tables like Environment Variable Definition and Environment Variable value and i can see that the value for the variable too but still receive error.

 

I know this is new feature which is in preview right now, however any help would be really appreciated.

 

Thanks,

ANB

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,213 Super User 2025 Season 2 on 22 Aug 2022 at 14:28:05
    Re: The value for environment variable "XXXXXXXXXX" was not found in the environment.

    Hi All,

     

    I was able to resolve the issue. I forgot to hit on SAVE on Azure access policy to set for the Data verse service principal.

     

    Azure Key Vault must have Get secret access policy set for the Data verse service principal. If it doesn't exist for this vault, add a new access policy. I did added this, but I forgot to SAVE this changes in Azure. After saving, things worked perfectly fine.

     

    Thanks,

    ANB

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 917 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 387 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 334 Super User 2025 Season 2

Last 30 days Overall leaderboard