web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error while creating virtual entity data source

(1) ShareShare
ReportReport
Posted on by
Hi,
 
I am trying to create virtual entity data source for on prem sql server connection reference. I am able to successfully create onprem data gateway and created the connection reference using the onprem connection. I am getting this error when trying to virtual entity data source. 
 
Failed to create entity with logical name msdyn_ec_cr73etestcaiconnection and object type code 10582. Exception: Microsoft.Crm.CrmException: Error calling /modifyPermissionsForServicePrincipal, StatusCode: NotFound, please verify that connection 11e43db6d7594112aeda8cb3dc0acbcf exists in environment 7439f892-1b1f-e871-bf55-0da6b5adca73
   at Microsoft.Crm.ObjectModel.VirtualConnectorProviderService.<>c__DisplayClass19_0.<AuthorizeVirtualConnectionProviderOnConnectionReference>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.VirtualConnectorProviderService.<>c__DisplayClass12_0.<RunACLingInSync>b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Crm.ObjectModel.VirtualConnectorProviderService.RunACLingInSync(ExecutionContext context, Entity dataSource, IOrganizationService orgService)
   at Microsoft.Crm.Metadata.EntityService.<>c__DisplayClass65_0.<OnCreateOfVirtualEntity>b__0()
   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.Metadata.EntityService.OnCreateOfVirtualEntity(IEntityInfo entityInfo, IMetadataHelper metadataHelper, ExecutionContext context)
   at Microsoft.Crm.Metadata.EntityService.CreateInternalHelper(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, Boolean shouldCreateOnlyFromReserve, ExecutionContext context)
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans