-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CoE Starter Kit - QUESTION] Documentation around Azure Secret usage #4406
Comments
We have seen a few people see something like this for initial setup. I believe the solution was that you need to leave this particular env var type (secret types) blank until after import. |
I already imported the solution with the Global Admin account. That worked without any issues, but is there any documentations about requirements regarding the role in azure? |
I dont have any at the moment but I can use this bug to track as a documentation item. |
Yes, it worked. If you could track a doc item, that would be great. As always, I volunteer for any kind of test 😇 |
Wonderful new. Thank you! |
Documentation to include
|
Has there been a change to the requirements of using Environment variables backed by Azure Key Vault secrets? As of late, when importing solutions that contain this type of component I'm getting the error above. I'm getting that via the ALM pipeline templates, through the UI I am able to still import the solutions successfullly. |
No there has not, if you are experiencing that it sounds like a bug in the ALM Accelerator, please post a bug for them. |
Hello. Unfortunately this documentation requirement has not yet made it into our priority list, we are a very small team. You will need to contact product support to get assistance on how to use secret type env vars at the moment if you are unable to do so from their existing documentation. |
Please contact product support, the key vault integration is just something we use, so if its not working it would be a product issue or product configuration. They will be able to assist you in using Azure Key Vaule and env vars. |
I have the same error with version 4.8 of the Core Components. No matter what I do I ca not set the value for the environment variable called - "Azure Key Vault Secret". I have tried in the setup wizard and I have tied leaving it blanks and attempted to set it later as well... This is after following all Microsoft documentation I could find... :( The user I am installing with has:
Microsoft.PowerPlatform is registered undr "Subscriptions" in the Azure Portal I can't change any of the flows or apps in the solution as it is "managed". How was this tested? As it looks like there is a dealbreaker right from the start... |
I believe i have found the solution In the documentation: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/EnvironmentVariables. Your account will need/ or account that will be saving the secret: Key Vault Secrets User permissions |
thanks so much for sharing your investigation findings! |
we already link to https://learn.microsoft.com/en-us/power-apps/maker/data-platform/EnvironmentVariables from our documentation. I made a change to specifically call out "review the pre-requisites" from this article. |
@MichaelRoth42 This has been fixed in the latest release. Please install the latest version of the toolkit following the instructions for installing updates. Note that if you do not remove the unmanaged layers as described there you will not receive updates from us. |
What is your question?
My user account is Power Platform Administrator, has the “Key Vault Secrets User” role for the key vault, as well as the “Reader” role inherited from the resource group the key vault is in.
As soon as I try to update the core components, I get the error message
“Solution "Center of Excellence - Core Components" failed to import: User is not authorized to read secrets from [...] ” (Error Code 8004801E)
This feels like a bug, but I guess I'm just missing something important. I ran out of ideas, can somebody help me out here?
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.2
What app or flow are you having the issue with?
importing the solution
The text was updated successfully, but these errors were encountered: