Following & Recent Sites Web Parts error

Brass Contributor

 

We are using SP Starter kit app for showing following sites and Recent sites.

 

https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/components/wp-followed-sites....

 

User 1 Page

1.PNG

 

User 2 Page

 

2.PNG

 

 

 

 

Recent Sites Web part throws the below error

 

Error - Type : interaction_required - Description : AADSTS65001: The user or administrator has not consented to use the application with ID '358b2321-7eee-4ec5-a84e-b6c5ec0b5fc3' named 'SharePoint Online Client Extensibility Web Application Principal'. Send an interactive authorization request for this user and resource. Trace ID: 3cd5b6fe-0a12-4fa6-890a-02cb72d3ac00 Correlation ID: 88db1d23-71a6-4391-9860-1d22fc1c5baa Timestamp: 2019-12-25 05:55:44Z

 

2 Replies

When we deploy the sp-starter-kit app, there is a checkbox message -

Please go to the API Management Page to approve pending permissions. These are the permissions that need to be reviewed: Microsoft Graph, Sites.Read.All; Microsoft Graph, Contacts.Read; Microsoft Graph, User.Read.All; Microsoft Graph, Mail.Read; Microsoft Graph, Calendars.ReadWrite; Microsoft Graph, Group.ReadWrite.All; Microsoft Graph, MailboxSettings.Read

 

APIManagement.png

Where exactly do we need to enable this checkbox messages ?

 

 

@Sajith G H You can enable the checkboxes in Sharepoint admin center -> Advanced -> Api Access -> Pending requests.