Hi,
I am trying to use the solution checked Azure DevOps task in a Windows container running an ADO agent. Does this work? I get multiple errors, such as:
' Authentication failed because the remote party has closed the transport stream.'
Error: An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Utils.StopwatchService.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__11.MoveNext()
StatusCode: 0
ResponseBody:
Headers:
Error: Failure Response for request to WebAPI GET /api/data/v9.0/RetrieveCurrentOrganization(AccessType='Default') : StatusCode=Forbidden : RequestID=30d0285c-a6ce-47d1-953c-cc2c36c11d6c : {"error":{"code":"0x80072560","message":"The user is not a member of the organization."}}
HelpLink Url: Not Provided
Stack Trace: Not Provided
|EXCEPTION: System.Exception: Failure Response for request to WebAPI GET /api/data/v9.0/RetrieveCurrentOrganization(AccessType='Default') : StatusCode=Forbidden : RequestID=30d0285c-a6ce-47d1-953c-cc2c36c11d6c : {"error":{"code":"0x80072560","message":"The user is not a member of the organization."}}
2026-03-27 16:27:30.3023 | ERR | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: ************ HttpOperationException - GET RetrieveCurrentOrganization(AccessType='Default') : |=> The user is not a member of the organization.
==DataverseOperationException Info=======================================================================================
Source: Dataverse Server API
Error: The user is not a member of the organization.
I whitelisted these urls on the firewall:
"*.crm11.dynamics.com",
"*.api.advisor.powerapps.com",
"api.advisor.powerapps.com",
"api.bap.microsoft.com",
"globaldisco.crm.dynamics.com",
"login.microsoftonline.com",
"*.blob.core.windows.net",
"login.windows.net",
"service.powerapps.com",
"unitedkingdom.api.advisor.powerapps.com",
"orge710fada.crm4.dynamics.com"
Hi,
I am trying to use the solution checked Azure DevOps task in a Windows container running an ADO agent. Does this work? I get multiple errors, such as:
' Authentication failed because the remote party has closed the transport stream.'
Error: An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Utils.StopwatchService.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__11.MoveNext()
StatusCode: 0
ResponseBody:
Headers:
Error: Failure Response for request to WebAPI GET /api/data/v9.0/RetrieveCurrentOrganization(AccessType='Default') : StatusCode=Forbidden : RequestID=30d0285c-a6ce-47d1-953c-cc2c36c11d6c : {"error":{"code":"0x80072560","message":"The user is not a member of the organization."}}
HelpLink Url: Not Provided
Stack Trace: Not Provided
|EXCEPTION: System.Exception: Failure Response for request to WebAPI GET /api/data/v9.0/RetrieveCurrentOrganization(AccessType='Default') : StatusCode=Forbidden : RequestID=30d0285c-a6ce-47d1-953c-cc2c36c11d6c : {"error":{"code":"0x80072560","message":"The user is not a member of the organization."}}
2026-03-27 16:27:30.3023 | ERR | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: ************ HttpOperationException - GET RetrieveCurrentOrganization(AccessType='Default') : |=> The user is not a member of the organization.
==DataverseOperationException Info=======================================================================================
Source: Dataverse Server API
Error: The user is not a member of the organization.
I whitelisted these urls on the firewall: