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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Alternate Key shows Pending State Forever

(0) ShareShare
ReportReport
Posted on by 65

Hello Experts,

I have a development environment, on this environment we have defined an Alternate Key .

When exported a managed solution from dev environment and imported into the other environment, the Alternate Key stays in pending and it stays like that forever.

2018_2D00_05_2D00_22-19_5F00_13_5F00_55_2D00_Window.png

Also checking the System Job doesn't give much information.

2018_2D00_05_2D00_22-19_5F00_15_5F00_17_2D00_Window.png

Any help on this would be appreciated.

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ben Thompson Profile Picture
    6,350 on at
    RE: Alternate Key shows Pending State Forever

    This usually happens when multiple records exist that have the same combined alternate key in the target system. Run an advanced find for the fields that make up the alternate key on the entity in question and I'm sure you will find duplicate results. Changing the values of one of those duplicate records (across every pair of duplicates) will allow the key to be created once there are no duplicates.

  • Parth Bhaidani Profile Picture
    65 on at
    RE: Alternate Key shows Pending State Forever

    Thanks Ben for your prompt reply. But, to update you it was just the first time I was taking over my managed solution over to the Target environment, which means the entity to which this Alternate Key is related to didn't exist until the import happened.

  • Parth Bhaidani Profile Picture
    65 on at
    RE: Alternate Key shows Pending State Forever

    Hello Experts, Any idea on what could have caused the issue?

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at
    RE: Alternate Key shows Pending State Forever

    Hi Parth,

    Can you try creating solution only including Alternate key and its dependencies.

    Thanks

    Justin Jose

  • Mahendar Pal Profile Picture
    45,095 on at
    RE: Alternate Key shows Pending State Forever

    It seems you are using CRM on premise, try to enable tracing and see if any pointer recorded there.

  • elmaslouhi Profile Picture
    10 on at
    RE: Alternate Key shows Pending State Forever

    Thank's a lot that was the problem for me, I forgot records in my inactive view 

  • elmaslouhi Profile Picture
    10 on at
    RE: Alternate Key shows Pending State Forever

    Thank's a lot that was the problem for me, I forgot records in my inactive view

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans