Skip to content

pac auth create using incorrect service root URL #864

@lovelyAphorist

Description

@lovelyAphorist

I am trying to create a new auth to a different dynamics enivorment other than my orgs default using:

pac auth create --environment https://xxx365dev.company.org --name xxxdev --deviceCode

I get the error of Error: Can't resolve AAD/OAuth authority for https://xxx365dev.company.org/api/data/v9

The issue is that my service root url that is should be using is https://xxx365dev.company.org/api/data/v9.1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    pac-cliPAC Command Line Interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions