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

Office365Tenant.GetExternalUsersForSite() method is returning "Unknown Error"

$
0
0

Hi,

We are using "Microsoft.Online.SharePoint.TenantManagement" namespace in our program. The Office365Tenant class has one method GetExternalUsersForSite()  which retrieves all external users that have access to particular externally shared site.

We have two externally shared sites in our SharePoint Online.

https://abc.sharepoint.com/sites/EXT1 and 

https://abc.sharepoint.com/sites/EXT2

Using the method GetExternalUsersForSite() we are able to fetch all the external users for site EXT1. But it is throwing an "Unknown Error" for site EXT2.

This is strange, as both the site belongs to same tenant and does not have any difference as far as external sharing settings is concerned.

Kindly suggest.

Best Regards,

Kundal


Viewing all articles
Browse latest Browse all 10096

Trending Articles



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