{"id":7518,"date":"2024-02-26T13:20:06","date_gmt":"2024-02-26T13:20:06","guid":{"rendered":"https:\/\/rakhesh.com\/?p=7518"},"modified":"2024-02-26T13:20:06","modified_gmt":"2024-02-26T13:20:06","slug":"quickly-check-if-a-user-has-onedrive","status":"publish","type":"post","link":"https:\/\/rakhesh.com\/azure\/quickly-check-if-a-user-has-onedrive\/","title":{"rendered":"Quickly check if a user has OneDrive"},"content":{"rendered":"

Had a request to quickly confirm whether a user had OneDrive. I couldn’t be bothered to activate my admin roles to check properly. So here’s what I did.<\/p>\n

I went to https:\/\/<tenant name>-my.sharepoint.com\/personal\/<upn><\/code> where <upn><\/code> has all special characters replaced. Thus firstname.lastname@mydomain.com<\/code> becomes firstname_lastname_mydomain_com<\/code>.<\/p>\n

If the user has a OneDrive you will get an access denied message but if the user does not have OneDrive you get a different error.<\/p>\n\n\n\n\n
\"\"<\/td>\n\"\"<\/td>\n<\/tr>\n
No OneDrive<\/td>\nYes OneDrive<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Had a request to quickly confirm whether a user had OneDrive. I couldn’t be bothered to activate my admin roles to check properly. So here’s what I did. I went to https:\/\/<tenant name>-my.sharepoint.com\/personal\/<upn> where <upn> has all special characters replaced. Thus firstname.lastname@mydomain.com becomes firstname_lastname_mydomain_com. If the user has a OneDrive you will get an access … Continue reading Quickly check if a user has OneDrive<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[887],"tags":[220],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7518"}],"collection":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/comments?post=7518"}],"version-history":[{"count":1,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7518\/revisions"}],"predecessor-version":[{"id":7521,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7518\/revisions\/7521"}],"wp:attachment":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/media?parent=7518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/categories?post=7518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/tags?post=7518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}