Connect Dataverse using Azure Managed Identity #1129
A99bhishek
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a requirement where I need to connect Dataverse using the Azure Managed Identity. For that purpose I performed steps
A. Created a user manged identity in Azure
B. Added that managed identity in D365 as App User and assigned system admin security role.
C. In devops within service connection >> Power Platform >> Azure Managed Identity >> Provided the organization URL.
Given below error which I am getting-
Error: The value passed to '--environment' is invalid. No Dataverse organization was found matching the specified criteria (--environment https://xxxxx.crm.dynamics.com/).
Given below the yaml-
trigger:
Use your organization's 1ES agent pool (adjust the pool name as required)
pool:
name: 'DEVOpsPool'
stages:
displayName: 'Export Solution from Dev'
jobs:
displayName: 'Export Solution in Dev'
steps:
1. Install the Power Platform CLI using the provided installer task.
task: PowerPlatformToolInstaller@2
displayName: 'Install Power Platform CLI'
inputs:
DefaultVersion: true
AddToolsToPath: true
task: PowerPlatformWhoAmi@2
inputs:
authenticationType: 'PowerPlatformSPN'
PowerPlatformSPN: 'SPN1'
Environment: "https://xxxXx.crm.dynamics.com"
continueOnError: true
It seems some issue in the managed identity configuration, if someone can share the steps contains would help alot.
A. Managed Identity setup
B. How to configure and use the managed identity in Azure Devops within power platform
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions