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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

I can't refresh Virtual Entities and reflect added custom fields in Dataverse.

(0) ShareShare
ReportReport
Posted on by 2

I have Virtual Entities setup in DYnamics 365 HR.

I've removed 2 custom fields from Position Detail entity in D365 HR, created 2 new fields and exposed them. Then I refreshed Virtual Entity (in D365 HR) but I I don't see changes reflected in Dataverse VT. I still see two old fields that were removed and can't see new ones. 

So I decided to go to Advanced Settings to Dynamics 365, and refresh Virtual entity in there. Once I change refresh to 'Yes' (image below)

pastedimage1631696761186v2.png

I can't save it and the error message shows the log below:

Exception Message: The data configuration for calling Finance and Operations is incomplete. Specify a value for msdyn_aadapplicationsecret.

ErrorCode: -2147185397
HexErrorCode: 0x80048d0b

ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin
ApiStepKey: dafdc691-ed1a-ea11-a81c-000d3a6dd9c4
ApiDepthKey: 1
ApiActivityIdKey: 26fd557a-2f1c-41d8-8452-163f72bd013a
ApiPluginSolutionNameKey: MicrosoftOperationsVESupport
ApiStepSolutionNameKey: MicrosoftOperationsVESupport
ApiExceptionCategory: ClientError
ApiExceptionMessageName: IsvAbortedBadRequest
ApiExceptionHttpStatusCode: 400
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
PluginTrace: [Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin]
[dafdc691-ed1a-ea11-a81c-000d3a6dd9c4: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin: Update of mshr_hrvirtualentitycatalog]


TraceText:
[Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin]
[dafdc691-ed1a-ea11-a81c-000d3a6dd9c4: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin: Update of mshr_hrvirtualentitycatalog]

Activity Id: ed251218-e793-4ead-af67-a914c16674d2

Application secret is populated, so I have no ideas what the problem might be.

I have the same question (0)
  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi,

    When you added two new fields in D365 HR then did you use custom field setup form and clicked on Apply changes? If yes, then it should new fields.

    Additionally, instead of doing refresh yes in CE, you can make visible No and refresh the "available for finance and operation" and make your entity visible to yes again.

    It's quite weird but I did in this way couple of times to resolve the refresh issue.

  • Dynamics 365 Human Resources Forum Profile Picture
    2 on at

    Yes, I clicked apply changes, but new fields didn't appear in Dataverse VT.

    And I've already tried what you suggested, to delete entity (set visible to No), but when saving this change I get the error:

    pastedimage1673517618395v1.png

    When I open log file I see this (btw help link mentioned in the log doesn't exists) :

    Exception Message: Object reference not set to an instance of an object.

    ErrorCode: -2147220956
    HexErrorCode: 0x80040224

    ErrorDetails:
    ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin
    ApiStepKey: dafdc691-ed1a-ea11-a81c-000d3a6dd9c4
    ApiDepthKey: 1
    ApiActivityIdKey: 34d2cffc-e9df-45ce-a00a-54c52600ad5e
    ApiPluginSolutionNameKey: MicrosoftOperationsVESupport
    ApiStepSolutionNameKey: MicrosoftOperationsVESupport
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: IsvUnExpected
    ApiExceptionHttpStatusCode: 400

    HelpLink: go.microsoft.com/.../

    TraceText:
    [Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin]
    [dafdc691-ed1a-ea11-a81c-000d3a6dd9c4: Microsoft.Dynamics.FOVirtualEntityGeneration.Plugins.GenerateVirtualEntityPlugin: Update of mshr_hrvirtualentitycatalog]

    Activity Id: 988aabed-97a7-4c54-ab53-46650cf3486a

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans