-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIarea:otherCategory: unknown (does not fit any other category)Category: unknown (does not fit any other category)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
Category
- Bug
Related issue: https://github.com/MicrosoftDocs/office-docs-powershell/issues/662
Expected or Desired Behavior
One of two:
- Either deletion of a site should be blocked if it's a hub site or has sites associated to the hub
- Deletion of a site should also unregister it as a hub site
Observed Behavior
I get "File not found" when running Unregsiter-SPOHub site on a deleted site.
Steps to Reproduce
- Create a new site
- Register it as hub site
- Delete the site
- (empty recycle bin)
- Try to run
Unregister-SPOHubSite
Metadata
Metadata
Assignees
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIarea:otherCategory: unknown (does not fit any other category)Category: unknown (does not fit any other category)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.