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 :
Service | Customer Service, Contact Center, Fie...
Answered

How to force delete a guide

(1) ShareShare
ReportReport
Posted on by 97

Hello.

I'm trying to delete the guide, but a pop-up window keeps showing that the record is associated with another record and cannot be deleted.

The error code is 0x80040227.

What should I do in this case? It happens too often. How can I delete this?

I want to force the guide to be deleted.

Thank you.

I have the same question (0)
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: How to force delete a guide

    Hi junwoo,

    Does this error look like the one shown in the screenshot below?

    The reason for this error is that the current record has an associated child record that prevents it from being deleted.

    Firstly, you need figure out what type of records can restrict deletions, which is the entity of the child record.

    --Clicking 'Show Details' and Download Log File.

    pastedimage1674021283856v2.png

    Open the file, find the relationship name and related entity:

    pastedimage1674021771387v4.png

    If you want to delete the guide, you need to delete the related Guide Operator Session(msmrw_GuideSession) records firstly:

    pastedimage1674022019146v5.png

    Or you can try to change 'Type of behavior' for Delete on the 'msmrw_GuideSession_Guide_msmrw_guide' relationship if you don't want to delete records manually every time.

    --Select 'Cascade All' or 'Remove Link' options.

    pastedimage1674022842799v6.png

  • junwoo Profile Picture
    97 on at
    RE: How to force delete a guide

    Thank you very much. I solved it with your help.^^

  • RS-05071740-0 Profile Picture
    18 on at
    RE: How to force delete a guide

    Hi Leah, thank you so much for your help!

    I also encountered this error and think your solution is beneficial.

    May I ask if this tip could be added as a footnote within the Guides documentation (how to Delete a Guide)?:

    learn.microsoft.com/.../admin-deactivate-guide

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 58

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 16 Super User 2025 Season 2

#2
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans