Hi,
I'm trying to deploy my solution with DevOps, when trying to connect using task : Power Platform WhoAmI, for checking only whether my DevOps can connect to Dataverse or not, but it always error saying failed to connect to Dataverse ->
I'm actually not too familiar with DevOps so hopefully someone here can guide me someway.
So as mentioned I created this task in my pipeline ->
While the 1st task is default, the 2nd is with these parameter :
As in the pict, I'm choosing Service Principal and had choose my Service connection which I've created earlier in Project Setting - Service connection. And I believe I have put the correct Tenant ID, Application ID, and Secret key when create it.
Any idea what went wrong ? Or is it really it is because of an incorrect Id and secret key only ? Although pretty sure it is correct, so not a clue why ?
Thanks in advance
Thank you very much.
It is resolved now.
Sure.
Open the admin portal (https://admin.powerplatform.microsoft.com/) and open your environment (requires admin privs). Click Settings, then under Users + permissions, click Application users
Click New App User, then in the side panel that opens, click Add an app to search for the App Registration you used for your DevOps Pipeline (all app registrations in your tenant will be visible to you here).
Assign the app a business unit (probably root) and a role (sysadmin maybe?) and you should be all set!
Have fun!
Hi @cchannon ,
I think I didn't, may I know how to do that ? can you help me to direct me to some good article about this ? or Youtube video will be even better.
Thanks
Did you add your Service Principal as an App User in Dataverse and assign an appropriate role?
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1