nerdexam
Microsoft

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.

Deploy solutions

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)
  • A
    14% (4)
  • B
    7% (2)
  • C
    3% (1)
  • D
    76% (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.

AConnection reference

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.

BWeb resource

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.

CManaged identity

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.

DEnvironment variableCorrect

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

#Power Automate#Solutions#Environment Variables#Configuration Management

Community Discussion

No community discussion yet for this question.

Full PL-500 Practice