PL-500 · Question #30
You have a flow that interacts with different SharePoint sites. You add the flow to a solution. You redeploy the solution to production each time you make a change to the flow. You do not want to…
The correct answer is D. Environment variable. To prevent manual changes to environment-specific values like SharePoint site URLs during solution deployment, an environment variable is the appropriate solution component.
Question
You have a flow that interacts with different SharePoint sites. You add the flow to a solution. You redeploy the solution to production each time you make a change to the flow. You do not want to change the SharePoint site URL every time you redeploy the solution. You need to configure the solution. Which solution component should you use?
Options
- AConnection reference
- BWeb resource
- CManaged identity
- DEnvironment variable
How the community answered
(29 responses)- A14% (4)
- B7% (2)
- C3% (1)
- D76% (22)
Why each option
To prevent manual changes to environment-specific values like SharePoint site URLs during solution deployment, an environment variable is the appropriate solution component.
A connection reference abstracts the connection to a service (e.g., SharePoint) but does not handle dynamic values like specific site URLs within that service; it ensures connectivity, not the target URL.
A web resource is used for client-side web development components within model-driven apps, such as HTML, JavaScript, or CSS, and is not for storing configurable runtime parameters like a SharePoint URL.
A managed identity provides an identity for Azure resources to authenticate to services supporting Azure AD authentication but does not store or manage specific configuration values like a SharePoint site URL.
An environment variable is specifically designed to store environment-specific configuration values, such as a SharePoint site URL, allowing the flow to reference this variable and ensuring the correct URL is used after deployment without requiring manual modification of the flow.
Concept tested: Power Automate Solutions Environment Variables
Source: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables
Topics
Community Discussion
No community discussion yet for this question.