Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Suggested answer

Entity incidentresolution : Quick create is not supported for non-refreshed Entity

Posted on by 5

I've seen a few similar posts, but none with a solution. After importing / upgrading an Organization into D365, the status is failed. The most common error in the log is "Entity incidentresolution : Quick create is not supported for non-refreshed Entity".

Will someone please help me resolve the error?

  • Suggested answer
    Justin R Profile Picture
    Justin R 5 on at
    RE: Entity incidentresolution : Quick create is not supported for non-refreshed Entity

    I received the following solution from Microsoft Support, which I am posting here for future reference.

    You will need to attach a non failed database again to the SQL server(fresh one) apply the following script before attempting to import, once you ran the script, please retry the import.

    Script:

    BEGIN TRANSACTION

    IF  NOT EXISTS (SELECT * FROM sys.objects

    WHERE object_id = OBJECT_ID(N'[dbo].[IncidentResolutionBase]') AND type in (N'U'))

    BEGIN

    /****** Create the metadataschema to add support for the Extension Table required for the incident resolution custom attributes******/

    CREATE TABLE [dbo].[IncidentResolutionBase](

       [ActivityId] [uniqueidentifier] NOT NULL,

    CONSTRAINT [PK_IncidentResolutionBase] PRIMARY KEY CLUSTERED

    (

       [ActivityId] ASC

    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]

    ) ON [PRIMARY]

    ALTER TABLE [dbo].[IncidentResolutionBase] SET (LOCK_ESCALATION = DISABLE)

    ALTER TABLE [dbo].[IncidentResolutionBase]  WITH CHECK ADD  CONSTRAINT [FK_IncidentResolutionBase_ActivityPointerBase] FOREIGN KEY([ActivityId])

    REFERENCES [dbo].[ActivityPointerBase] ([ActivityId])

    ALTER TABLE [dbo].[IncidentResolutionBase] CHECK CONSTRAINT [FK_IncidentResolutionBase_ActivityPointerBase]

    END

    /****** updating the metadataschema to add support for the Extension Table and Required metada data attributes on incident resolution entity******/

    UPDATE mse

           SET IsReadOnlyInMobileClient = 0, IsQuickCreateEnabled = 1, CanCreateAttributes = 1, IsAIRUpdated = 1, ExtensionTableName = 'IncidentResolutionBase'

           FROM [MetadataSchema].[Entity] AS mse INNER JOIN [SolutionBase] as sb on mse.SolutionId = sb.SolutionId

           WHERE mse.LogicalName = 'incidentresolution' AND sb.UniqueName NOT IN ('msdynce_ServicePatch201911', 'msdynce_ServicePatch', 'msdynce_Service');

           DECLARE @updatedRows AS INT = @@ROWCOUNT;

           DECLARE @solutionCount AS INT = (SELECT COUNT(UniqueName) FROM [MetadataSchema].[Entity] AS mse INNER JOIN [SolutionBase] as sb on mse.SolutionId = sb.SolutionId

           WHERE mse.LogicalName = 'incidentresolution' AND sb.UniqueName NOT IN ('msdynce_ServicePatch201911', 'msdynce_ServicePatch', 'msdynce_Service'));

           IF @updatedRows <> @solutionCount

           BEGIN

               THROW 51000, 'Incorrect rows updated!', 1;

           END

    COMMIT TRANSACTION

  • Suggested answer
    KK-365 Profile Picture
    KK-365 1,010 on at
    RE: Entity incidentresolution : Quick create is not supported for non-refreshed Entity

    Raise a ticket with Microsoft, This looks to be a System error.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity incidentresolution : Quick create is not supported for non-refreshed Entity

    Hi Justin R,

    This seems that this is a system error. You would better raise a ticket to feedback this.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans