Replies: 3 comments 1 reply
-
As far as I know (or could test), it only works with auth profiles of type "Universal" (and not "Dataverse"), and it only works for auth profiles with a user account and not with an Application User. |
Beta Was this translation helpful? Give feedback.
-
Hi @ameed |
Beta Was this translation helpful? Give feedback.
-
Hello @ameed @YannickRe @deano808 I've also created the Service Principal connection as Universal but then I get "Original exception: AADSTS7000215: Invalid client secret provided" Do you know if there is a solution or another way to acomplish it? |
Beta Was this translation helpful? Give feedback.
-
I tried a few times and also cleared and recreated auth profile and made sure to select it as well, however when creating connection using Service Principal, it still fails with saying "Error: No auth profiles were found on this computer. Please run 'pac auth create' to create one.". I have tried creating SP connection using all three options: (org url, instance id, unqiue name), yet get same error.
Am i missing something ?
following is version info:
PS C:\Users\ugigigi> pac help
Microsoft PowerPlatform CLI
Version: 1.27.6+g9f62afb
Online documentation: https://aka.ms/PowerPlatformCLI
Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Usage: pac [admin] [application] [auth] [canvas] [catalog] [connection] [connector] [copilot] [data] [help] [modelbuilder] [org] [package] [pcf] [pipeline] [plugin] [powerpages] [solution] [telemetry] [test] [tool] [virtual-agent]
admin Work with your Power Platform Admin Account
application Commands for listing and installing available Dataverse applications from AppSource
auth Manage how you authenticate to various services
canvas Operating with Power Apps .msapp files
catalog (Preview) Commands for working with Catalog in Power Platform
connection (Preview) Commands for working with Dataverse connection.
connector (Preview) Commands for working with Power Platform Connectors
copilot Tools and utilities for copilot scenarios
data Import and export data from Dataverse.
help Show help for the Microsoft Power Platform CLI.
modelbuilder Code Generator for Dataverse APIs and Tables
org Work with your Dataverse organization.
package Commands for working with Dataverse package projects
pcf Commands for working with Power Apps component framework projects
pipeline Work with Pipelines
plugin Commands for working with Dataverse plug-in class library
powerpages Commands for working with Power Pages website.
solution Commands for working with Dataverse solution projects
telemetry Manage telemetry settings.
test (Preview) Execution of automated tests for a Power App
tool Power Platform tools that can be installed and launched.
virtual-agent Commands for working with Power Virtual Agent bots
Beta Was this translation helpful? Give feedback.
All reactions