Clears all the authentication profiles created on the local machine. This command has no arguments.
pac auth clear
create
Creates the authentication profile for your organization by passing the url parameter. Shows AAD dialog if sign in credentials are not specified, and has the following arguments:
name: The name to give to this auth profile, maximum 12 characters (alias: -n).
kind: Kind of auth profile, defaults to Dataverse (alias: -k).
url: Resource URL to connect to (alias: -u).
username: Optional: Username to authenticate with (alias: -un).
password: Optional: Password to authenticate with (alias: -p).
applicationId: Optional: Application ID to authenticate with (alias: -id).
clientSecret: Optional: Client secret to authenticate with (alias: -cs).
tenant: Optional: Tenant ID if using app id and client secret (alias: -t).