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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

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

(0) ShareShare
ReportReport
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?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Justin R,

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

  • Suggested answer
    KK-365 Profile Picture
    1,010 on at

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

  • Suggested answer
    Justin R Profile Picture
    5 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 19 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans