How to update the guest user manager via Microsoft Graph API call. RRS feed

  • Question

  • Hi Team,

    I am trying to change the azure guest user manager in my application firstly I was trying to run the respective graph api as shown in below  in graph explorer but this is showing below error. 

    I have already given the delegate permission to graph API on azure portal (User.ReadWrite.All, Directory.ReadWrite.All, Directory.AccessAsUser.All)

    API :{+"ObjectID"+}/manager  [exe : Object ID : Guest User object id]

    Method : PATCH

    Request Body


    Error Description :

        "error": {
            "code": "BadRequest",
            "message": "Write requests are only supported on contained entities",
            "innerError": {
                "request-id": "ab38aafb-5647-4218-ace0-19c4eadb71b5",
                "date": "2019-12-04T10:57:51"

    Thank you in Advance !!

    Thanks & Regards

    Deepak Chauhan

    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

    • Edited by DeepakChauhan Wednesday, December 4, 2019 11:07 AM Update in my query
    Wednesday, December 4, 2019 11:01 AM