I have a SP Form where the user enters a SharePoint URL like https://<mytenant>.sharepoint.com/sites/<SiteURL>
Now I want to get the Title of the SharePoint Site and find out who the site owner and the admins are.
I know that there is a way to make a SP Rest API call like:
to retrieve the data I am looking for, but if a user is not having any permission on the SharePoint URL (site) the API call fails with access denied.
Many thanks for ideas.
Please sign in to leave a comment.