Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get Local Option Set from Microsoft Dataverse via HTTP action in Power Automate
{
"inputs": {
"method": "GET",
"uri": "@{variables('EnvironmentUrl')}/api/data/v9.1/EntityDefinitions(LogicalName='@{variables('Table')}')/Attributes(LogicalName='@{variables('Column')}')/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet($select=Options)",
"headers": {
"Content-Type": "application/json",
"OData-MaxVersion": "4.0",
"OData-Version": "4.0"
},
"authentication": {
"type": "ActiveDirectoryOAuth",
"authority": "https://login.microsoftonline.com",
"tenant": "@parameters('TenantId')",
"audience": "@variables('EnvironmentUrl')",
"clientId": "@parameters('ClientId_MicrosoftDataverse')",
"secret": "@parameters('ClientSecret_MicrosoftDataverse')"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment