sharepoint - How to find if OneDrive is active for a user in Office365 through API? -


is there way find out user has onedrive site(for office365 account)?

i'm getting user list sharepoint site through

https://{domain}-my.sharepoint.com/_api/web/siteusers

but there no field indicate if user has active onedrive .by onedrive mean personal site of sort;

https://{domain}-my.sharepoint.com/personal/user_name_domain_microsoft_com

one way find out accessing url user , check if yields 404 response.

i'm trying done via rest api? on this?

the following user properties used distinguish actual (or active) spo users:

rest request:

/_api/web/siteusers?$filter=principaltype eq 1 , userid/nameidissuer  eq 'urn:federation:microsoftonline' 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -