Create open extension (Graph API) RRS feed

  • Question

  • Hi guys,

    I am trying to create an open extension for  Office365 message.

    I use this as example


    But when I try to add extension schema

    SchemaExtension schemaExtension = ServiceClient.SchemaExtensions.Request().AddAsync(extensionDefinition).Result;

    I get exception

    Code: Authorization_RequestDenied Message: Insufficient privileges to complete the operation. Inner error

    according to documentation  https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_post_schemaextensions

    I need delegated permission Directory.AccessAsUser.All

    My app already has this permission, but it doesn't help me.

    Do you have any ideas?

    Monday, January 29, 2018 2:13 PM