Tenant does not have a SPO license

前端 未结 4 939
灰色年华
灰色年华 2021-01-04 21:26

I have an error while trying to use Microsoft Graph to write a script to upload an Excel file to OneDrive then read the Excel file.

I followed Microsoft documentati

4条回答
  •  逝去的感伤
    2021-01-04 21:39

    In case anyone else has a similar issue, I was getting the same error message when using an Office 365 Home license. It turns out SPO stands for SharePoint Online, and you need an Office 365 Business account to have it. So as far as I can tell, you can't use the Microsoft Graph API to access OneDrive without having SharePoint (which only comes with the business licenses). This isn't really made clear anywhere that I could find.

提交回复
热议问题