microsoftgraph / microsoftgraph/entra-powershell

UUF Customer feedback: Remove-EntraContact

Open
#1,287 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Graph API gap P1 ToTriage Triaged
Dominant language
PowerShell
Stars
213
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/reference/v1.0/Microsoft.Graph.Entra/Remove-EntraContact.md and the linked Microsoft Graph orgContact resource documentation. Verify whether orgContact supports deletion and review the reported access-denied error. Done means the cmdlet's behavior and documentation accurately reflect the API contract, with appropriate coverage if tests are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.