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

Package Deployer error #237

Open MeeuwiszAV opened 3 years ago

MeeuwiszAV commented 3 years ago

Good aftenoon,

Recently we have been experiencing problems with the Package Deployer. The credentials and permissions have been validated by us several times. Unfortunately, this error this occurs every time.

We are no longer be able to deploy our packages due to the following error:

2021-03-09T14:06:01.5379758Z PackageDeployer Error: 2 : Message: User Code Execution : OP=AfterPrimaryImport : Status=Failed to execute Post Import Actions.  Message : [Forbidden], [{"Message":"Please verify that the user is valid and set up correctly."}], The remote server returned an error: (403) Forbidden.
2021-03-09T14:06:01.5382880Z Source  : mscorlib
2021-03-09T14:06:01.5383431Z Method              : HandleReturnMessage
2021-03-09T14:06:01.5383907Z Date     : 2:06:01 PM
2021-03-09T14:06:01.5384291Z Time     : 3/9/2021
2021-03-09T14:06:01.5385126Z Error    : [Forbidden], [{"Message":"Please verify that the user is valid and set up correctly."}], The remote server returned an error: (403) Forbidden.
2021-03-09T14:06:01.5385876Z Stack Trace       : Server stack trace: 
2021-03-09T14:06:01.5386503Z    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
2021-03-09T14:06:01.5387558Z    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
2021-03-09T14:06:01.5388415Z    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
2021-03-09T14:06:01.5389224Z    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
2021-03-09T14:06:01.5389495Z 
2021-03-09T14:06:01.5389830Z Exception rethrown at [0]: 
2021-03-09T14:06:01.5390433Z    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
2021-03-09T14:06:01.5391612Z    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
2021-03-09T14:06:01.5392131Z    at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
2021-03-09T14:06:01.5392756Z    at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
2021-03-09T14:06:01.5393230Z    at Unicef.DynamicsCE.Package.DefaultDataCreator.CreateDefaultCustomer()
2021-03-09T14:06:01.5393708Z    at Unicef.DynamicsCE.Package.PackageTemplate.AfterPrimaryImport()
2021-03-09T14:06:01.5394214Z    at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecutePostImportActions()
2021-03-09T14:06:01.5394797Z ======================================================================================================================

We tried different versions, but nothing seems to work. Do you guys have any suggestions?

amsimon commented 3 years ago

I am also getting this error. Any ideas?

MeeuwiszAV commented 3 years ago

I am also getting this error. Any ideas?

Are you using F&O?