WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

##[error]Unauthorized Http Status Code (401) was expected in the response #228

Open sannicolao opened 3 years ago

sannicolao commented 3 years ago

Since a few days, i get the following error, while copy instance.

[error]Unauthorized Http Status Code (401) was expected in the response

i tried it with the Online API Managment Version 2.0.0.18

Does someone has the same issue? I got it on different organisations with diffrent DevOps Orgs.

JST-OK commented 3 years ago

Hello, I have the same Issue since friday with the "Reset Online Instance Task". It worked fine until 3rd December. But now I get the error: ##[error]Unauthorized Http Status Code (401) was expected in the response I checked all connections twices and I can reset the Instance manually without no problems.

Kind regards JST

bananamufu commented 3 years ago

I have the same issue with the "backup online instance"-task. Tried older versions of the Online Management API, but that did not solve it.

Kind regards, Thomas

ok-tbe commented 3 years ago

I have the same issue with the "Reset Online Instance Task".

glennvandelocht commented 3 years ago

We got the same error on the "backup online instance" -task. Everything was working fine until Friday. Maybe this is related to the deprecation of crm online management api? https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/online-management-api/overview

wfemichel commented 3 years ago

I have the same issue with the Backup Online Instance task. At first I thought it was a change to the account that we have been using, but I am able to perform backup with the same account manually.

bananamufu commented 3 years ago

Issue is still present for us...

karan-mittal commented 3 years ago

Hello @WaelHamze I am using the below configuration for DevOps Task: BackUp Online Instance - ApiURL: https://admin.services.crm.dynamics.com User Name: serviceaccount@companyname.com Password: Instance Name: Name of my instance

I am continuously getting the error: Object reference not set to an instance of an object.

can you or someone please help with the issue or there is some problem with configuration.

Thanks in advance.