dataverse-environment-variables

Installation
SKILL.md

Dataverse Environment Variables

Use this skill when a user needs to create environment variables in a Dataverse solution — especially DataSource bindings for SharePoint or when they need values to not export with the solution ZIP.

Principles

  • Always create environment variables inside a solution, never loose in the environment.
  • Always set the current value (environmentvariablevalue entity), not the defaultvalue on the definition, for live environment data.
  • For SharePoint-backed canvas apps, always use DataSource type (100000004) instead of Text — it gives the app a connector-aware binding.
  • After AddSolutionComponent, immediately remove type-381 (value) components from the solution to set Export=No and prevent values from travelling with the ZIP.
  • Never store secret values in environment variable current values — use Secret type (100000005) backed by Azure Key Vault.
  • Confirm list GUIDs before creating DataSource list definitions — the value must be the SharePoint list GUID, not the display name.

When to use this skill

Installs
1
GitHub Stars
4
First Seen
Jul 4, 2026