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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error Message: Variabl...
Power Automate
Unanswered

Error Message: Variable Not Saving Properly - User Unauthorized to Read Secrets from a Specific Resource (Environment variables)

(2) ShareShare
ReportReport
Posted on by 4

image.png

I encountered the following error while attempting to save a variable in my Power Automate flow:

This variable didn't save properly. User is not authorized to read secrets from ####

I've ensured that there have been no recent changes in Azure related to permissions or configurations. Therefore, it's unlikely to be related to any recent updates.

Has anyone else experienced this issue before? I'm looking for suggestions or insights on how to resolve this problem. Any ideas or troubleshooting steps would be greatly appreciated.

Thank you in advance for your assistance!
Amjad

Categories:
I have the same question (0)
  • Likefire Profile Picture
    3 on at

    I think it's issue of the platform. Now we have the same trouble but a couple weeks ago everything was fine.

  • TomaszPoszytek Profile Picture
    170 Most Valuable Professional on at

    Hi, according to Use environment variables in solutions - Power Apps | Microsoft Learn MS recently change security roles that Dataverse app must be granted in Azure Key Vault. It used to be Key Vault Reader, now it is Key Vault Secrets User. 

    Also, make sure under Permission model you have "Azure RBAC" selected.

    And finally - make sure, the user who is importing a solution or creating the variable is also granted Key Vault Secrets User in the related AKV. I noticed in my case, that despite my account was an owner, I had to additionally grant myself the mentioned above role in order to make the whole setup work.

     

    Regards,

    Tomasz

  • billkan Profile Picture
    10 on at

    met all the requirements from the doc and still the same error, what should i provide you to fix this

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard