Skip to main content

Notifications

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?

  • Suggested answer
    Justin R Profile Picture
    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
    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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,208 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,970 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans