Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Discovery API return empty response for non-admin users

$
0
0

hi,

I have a code block which do discovery API call and return the resourceId for the record where capability=rootSite. The code runs fine with the Admin of the portal. I added few users in my SPO and when same code blocks runs with any of the newly added user the Discovery API returns the empty response.

I can see following records in active users pane on Admin Centre

    Display Name --------UserName-------------------------------Status

AdminUser adminUser@******.onmicrosoft.com Microsoft Office 365 Developer
User1        User1@******.onmicrosoft.com         Unlicensed
 


Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA



Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>