I have not been able to find clean documentation on how to setup a Service Principal to use with AzureDevops and PowerPlatform Build Tools.
This post does a nice job of showing how to setup ADO, but no info on the pre-req's of setting up the Service Principal.
Lets see if we can pull together all the steps in this post.
Here's what I have so far:
1. Create a new AppID in Azure Active Directory
- ISSUE HERE: Does this AppID need an email address?
2. Per this PowerShell script, add the following permissions:
"Microsoft Graph" "User.Read"
"PowerApps-Advisor" "Analysis.All"
"Common Data Service" "user_impersonation"
- ISSUE HERE TOO:
- "PowerApps-Advisor" "Analysis.All" does not appear to be a permission you can grant in Azure Portal to an AppID
- "Common Data Service" "user_impersonation" does not appear to be a permission you can grant in Azure Portal to an AppID
- The only one available says "DO NOT USE: DEPRECATED"

This is where I'm stuck when trying to setup an AppID. Any insights would be helpful!