entra-powershell icon indicating copy to clipboard operation
entra-powershell copied to clipboard

UUF Customer feedback: Remove-EntraContact

Open csmulligan opened this issue 11 months ago • 2 comments

Describe the bug A customer reported via the UUF triage app: This method does not work. It is supposed to delete orgContact objects, but the objects are accessible as read-only objects to the API, so this method fails. (see https://learn.microsoft.com/en-us/graph/api/resources/orgcontact)The error points to access denied and the old API: Remove-MgContact_Delete: Data contract version does not allow 'Delete' operations against instances of resource 'OrgContact'.

Live URL: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.entra/remove-entracontact

GitHub URL: https://github.com/MicrosoftDocs/entra-powershell-docs-pr/blob/live/docs/reference/v1.0/Microsoft.Graph.Entra/Remove-EntraContact.md

To Reproduce I couldn't reproduce this.

Expected behavior The cmdlet deletes orgContact objects

csmulligan avatar Jan 14 '25 12:01 csmulligan

Thank you for highlighting this issue. You're correct—orgContact is currently read-only.

What next?

We're collaborating with the API owner to resolve this and will provide updates as progress is made.

Related issues:

  • https://github.com/microsoftgraph/entra-powershell/issues/1102

SteveMutungi254 avatar Jan 15 '25 08:01 SteveMutungi254

Update:

Work on the API is committed for the April to June 2025 period.

SteveMutungi254 avatar May 02 '25 07:05 SteveMutungi254