Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: WebResources import: FAILURE: WebResource name = msdyn_/fps/BookableResourceBookingHeader/BookableResourceBookingHeader.Library.js: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>660a2bed-c54d-4217-9e81-68fcef9ec380</ActivityId>
<ErrorCode>-2147159781</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.WebServices.ImportXmlService</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourceException: WebResources import: FAILURE: WebResource name = msdyn_/fps/BookableResourceBookingHeader/BookableResourceBookingHeader.Library.js: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. ---> Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourceException: WebResources import: FAILURE: WebResource name = msdyn_/fps/BookableResourceBookingHeader/BookableResourceBookingHeader.Library.js: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. ---> Microsoft.Crm.CrmSecurityException: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.
at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowCrmSecurityException(SecurityPrincipal principal, Guid privilegeId, Int32 errorCode, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandlerEntityPrivilegeCheck(Object sender, SecurityTraits traits, SecurityAttributes attributes, ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateSecurityCheck(Object sender, ExtensionEventArgs e, BusinessEntity entity)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(ExtensionEventArgs e, Object sender)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>c__DisplayClass214_0.<Create>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at Microsoft.Crm.ObjectModel.WebResourceService.Create(IBusinessEntity entity, Boolean verifyDuplicateName, Boolean flushCache, ExecutionContext context)
at Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourcesHandler.CreateOrUpdateWebResource(WebResource webResource, String fileContent, WebResourceService webResourceService, Dictionary`2 existingWebResourceIds, Dictionary`2 existingWebResourceNames)
at Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourcesHandler.ImportItem()
--- End of inner exception stack trace ---
at Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourcesHandler.ImportItem()
at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.ImportInternal()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ImportAndUpdateProgress(ImportHandler ih)
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessHandlers(String[] ImportEntities, Hashtable ht, String& curPath, ImportHandler& ihForCurrentPath, CounterList listCounters)
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] ImportEntities)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport()
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImportInternal(Boolean withSolutionManifest)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapableInternal(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, ExecutionContext context, Boolean skipQueueRibbonJob, LayerDesiredOrder layerDesiredOrder, Boolean asyncRibbonProcessing)
at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, ExecutionContext context, Boolean skipQueueRibbonJob, LayerDesiredOrder layerDesiredOrder, Boolean asyncRibbonProcessing)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass3_0.<RunStep>b__0()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="schemas.microsoft.com/.../" i:type="d4p1:guid">1b830950-e106-4ee1-b3fd-d348cb65dc8d</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:int">2</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="schemas.microsoft.com/.../" i:type="d4p1:guid">660a2bed-c54d-4217-9e81-68fcef9ec380</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionCategory</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">SystemFailure</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionMesageName</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">WebResourceImportError</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionHttpStatusCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:int">500</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>0</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmSecurityException: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.
at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowCrmSecurityException(SecurityPrincipal principal, Guid privilegeId, Int32 errorCode, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandlerEntityPrivilegeCheck(Object sender, SecurityTraits traits, SecurityAttributes attributes, ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateSecurityCheck(Object sender, ExtensionEventArgs e, BusinessEntity entity)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(ExtensionEventArgs e, Object sender)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.<>c__DisplayClass214_0.<Create>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at Microsoft.Crm.ObjectModel.WebResourceService.Create(IBusinessEntity entity, Boolean verifyDuplicateName, Boolean flushCache, ExecutionContext context)
at Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourcesHandler.CreateOrUpdateWebResource(WebResource webResource, String fileContent, WebResourceService webResourceService, Dictionary`2 existingWebResourceIds, Dictionary`2 existingWebResourceNames)
at Microsoft.Crm.Tools.ImportExportPublish.ImportWebResourcesHandler.ImportItem()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>HasRetried</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">True</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>RetryExecutionStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.Core.Extensions.Retry.RetryExecutionStatus</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<HelpLink>go.microsoft.com/.../
<Message>WebResources import: FAILURE: WebResource name = msdyn_/fps/BookableResourceBookingHeader/BookableResourceBookingHeader.Library.js: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.</Message>
<Timestamp>2020-04-14T12:08:52.148791Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>660a2bed-c54d-4217-9e81-68fcef9ec380</ActivityId>
<ErrorCode>-2147159781</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<HelpLink i:nil="true" />
<Message>WebResources import: FAILURE: WebResource name = msdyn_/fps/BookableResourceBookingHeader/BookableResourceBookingHeader.Library.js: Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.</Message>
<Timestamp>2020-04-14T12:08:52.148791Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>660a2bed-c54d-4217-9e81-68fcef9ec380</ActivityId>
<ErrorCode>-2147220960</ErrorCode>
<ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
<HelpLink i:nil="true" />
<Message>Principal user (Id=6b713def-9960-e711-80fa-70106faa2291, type=8, roleCount=29, privilegeCount=3537, accessMode=0), is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'. context.Caller=6b713def-9960-e711-80fa-70106faa2291. Or identityUser.SystemUserId=bbc4db68-6ba5-4121-a447-1a81cd784bd9, identityUser.Privileges.Count=3599, identityUser.Roles.Count=0 is missing prvCreateWebResource privilege (Id=bd57cfa5-8495-4b3e-b358-da246ba797b5) on OTC=9333 for entity 'webresource'.</Message>
<Timestamp>2020-04-14T12:08:52.148791Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>