lithnet / miis-powershell

Lithnet PowerShell Module for FIM/MIM Synchronization Service
Microsoft Public License
40 stars 9 forks source link

Disconnect-CSObject when MV Object is missing #32

Closed jgreenephd closed 3 years ago

jgreenephd commented 3 years ago

We have situation where a CSObject has a link to a MVObject that does not exist. image Would it be possible to remove the link/attributes to the MV Object that no longer exists?

ryannewington commented 3 years ago

Hi Jeff,

That's an odd one!

The power shell module simply exposes functions from the UI to Powershell, so if you can't do something in the UI, you won't be able to do it in power shell.

To resolve this, I'd first try creating a declared import filter for this object to try and delete it from the CS, and then delete the filter and reimport. If that doesn't work, I'd think the next step would be to delete the connector space entirely and reimport.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.