sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

webApiPermissionRequests : Microsoft Graph Error

Open Rani86 opened this issue 8 years ago • 8 comments

Bug

Hi Team,

I am not able to deploy successfully when I add webapiPermissionRequest in my manifest . Could you please help me on this . I need to use Calendar events in my application using Microsoft Graph API .

Thanks, Rani

Rani86 avatar Jul 09 '18 11:07 Rani86

What error are you getting? Could you share the exact permission scope snippet?

waldekmastykarz avatar Jul 09 '18 18:07 waldekmastykarz

   "webApiPermissionRequests": [{  
        "resource": "Microsoft Graph",  
        "scope": "Calendar.Read"  
    }

When I deploy the code I get "Error in the application"

Rani86 avatar Jul 10 '18 04:07 Rani86

Is your tenant on the targeted release?

waldekmastykarz avatar Jul 10 '18 10:07 waldekmastykarz

Hi,

@Weldesk is correct, Can you check your tenant's target release for everyone? if not set it and then deploy your package again. Here's link for configured it

https://support.office.com/en-us/article/set-up-the-standard-or-targeted-release-options-in-office-365-3b3adfa4-1777-4ff0-b606-fb8732101f47

rajput9997 avatar Jul 10 '18 11:07 rajput9997

If the Error in the application" comes when you add the package to app-catalog, then this indicates that your tenant is not marked to be in Targeted Release. Please confirm that it's case. Notice that the setting has to be on tenant level.

VesaJuvonen avatar Jul 10 '18 17:07 VesaJuvonen

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.

msft-github-bot avatar Jan 22 '19 16:01 msft-github-bot

Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.

msft-github-bot avatar Jan 29 '19 17:01 msft-github-bot

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 27 '20 06:01 msft-github-bot