You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing Remove-* functions on various owner objects. #660
The following objects have a New function, but don't seem to have a Remove function:
Function New-MgApplicationOwnerByRef 1.5.0 Microsoft.Graph.Applications
Function New-MgDeviceManagementAndroidDeviceOwnerEnrollm... 1.5.0 Microsoft.Graph.DeviceManagement.Enrolment
Function New-MgDeviceManagementAndroidDeviceOwnerEnrollm... 1.5.0 Microsoft.Graph.DeviceManagement.Actions
Function New-MgDeviceRegisteredOwnerByRef 1.5.0 Microsoft.Graph.Identity.DirectoryManagement
Function New-MgGroupOwnerByRef 1.5.0 Microsoft.Graph.Groups
Function New-MgServicePrincipalOwnerByRef 1.5.0 Microsoft.Graph.Applications
Function New-MgTeamOwnerByRef
Hey Peter Ombwa (@peombwa) ,
you marked this as resolved.
Unfortunately, this the commands Remove-mgApplicationOwner and Remove-mgServicePrincipalOwner aren't available within the following version:
The documentation for the module microsoft.graph.authentication doesn't exist: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.authentication/connect-mggraph?view=graph-powershell-1.0&preserve-view=true
The .md is the problem within the link. The correct link would be https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.applications/new-mgapplicationownerbyref?view=graph-powershell-1.0&preserve-view=true
You are right, the issue was not resolved. A fix was deployed back in August, but it seems like we are still missing "delete operations" in the OpenAPI document.
So, I've raised a new issue and I'm engaging with that team to get this fixed as soon as possible.
Activity
peombwa commentedon May 12, 2021
This is missing from the OpenAPI document that the SDK is generated from. I've opened an issue for the appropriate team to fix this here https://github.com/microsoftgraph/microsoft-graph-devx-api/issues/567.
As a workaround, you could use
Invoke-MgGraphRequestlike this to remove an application owner like this.erwinkramer commentedon May 13, 2021
Thanks Peter Ombwa (@peombwa) .
Also it's not just the ref types, I think it's missing these as well:
kaiaschulz commentedon Feb 2, 2022
Hey Peter Ombwa (@peombwa) ,
you marked this as resolved.
Unfortunately, this the commands
Remove-mgApplicationOwnerandRemove-mgServicePrincipalOwneraren't available within the following version:In the meantime, I am trying to use your mentioned workaround.
kaiaschulz commentedon Feb 2, 2022
Additionally, the links within the mapping table are somehow available (404) or have a wrong linking:
Not available (404):
The documentation for the module
microsoft.graph.authenticationdoesn't exist:https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.authentication/connect-mggraph?view=graph-powershell-1.0&preserve-view=trueWrong linking (404):
The
.mdis the problem within the link. The correct link would behttps://docs.microsoft.com/en-us/powershell/module/microsoft.graph.applications/new-mgapplicationownerbyref?view=graph-powershell-1.0&preserve-view=truemaisarissi commentedon Feb 23, 2022
Hi kaiaschulz .
You are right, the issue was not resolved. A fix was deployed back in August, but it seems like we are still missing "delete operations" in the OpenAPI document.
So, I've raised a new issue and I'm engaging with that team to get this fixed as soon as possible.