How to change Azure AD Registered Owner?

Jonathan Castillo 6 Reputation points Microsoft Employee
2022-04-19T07:36:05.597+00:00

I'm using the script listed here to change the device owner of an AADJ system in my lab tenant. But I receive the following error when attempting to add a registered owner to that device.

Add-AzureADDeviceRegisteredOwner: Error occurred while executing AddDeviceRegisteredOwner
Code: Request_BadRequest
Message: The URI 'https://graph.windows.net//36d960e0-e339-4a97-a4da-754681fbc0a2/directoryObjects/4582e564-8daa-4992-87a8-8e8c81aca9dd' is not valid since it is not based on 'https://graph.windows.net/36d960e0-e339-4a97-a4da-754681fbc0a2/'.
RequestId: c7467edc-6fae-4cf8-8a2d-512b9ca1de20
DateTimeStamp: Tue, 19 Apr 2022 07:19:57 GMT
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TomekA 6 Reputation points
    2022-04-19T12:34:41.437+00:00

    I have the same issue since Friday. I was able to remove the old owner but I cannot add a new one.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.