Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "The remote name could not be resolved: 'OldUrl.crmxx.dynamics.com'" post URL change #1004

Open
xundong opened this issue Aug 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xundong
Copy link

xundong commented Aug 20, 2024

Describe the bug
I have a sandbox environment. When I run the following pac admin and pac env with Environment Id, I get error
pac admin assign-user -env [environment guid] -u "user name" -r "System Administrator"
or
pac env select -env [the same env guid]
Basically I have change the URL using PP Admin portal once before.
so I can see the error message that PAC seem to be holding onto the previous URL, hence it can't connect to the dataverse...

To Reproduce
Steps to reproduce the behavior:

  1. Create a sandbox env
  2. edit and update the url of the environment to seomthing else.
  3. now run pac admin or pac env select - env
  4. See error

Expected behavior
Since the URL was updated successfully and I can access the Env via the URL with no issues.
Thereofor I expect the it to connect when environment id is used with pac admin or pac env

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise
  • Browser: Microsoft Edge
  • Version VSCode 1.92.2;
  • Microsoft PowerPlatform CLI Version: 1.33.5+g1621296

Additional context
Add any other context about the problem here.

@xundong xundong added the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant