Tenant does not have a SPO license

前端 未结 4 961
灰色年华
灰色年华 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:55

    Both OneDrive for Business and the Excel APIs require Office 365. Based on your screenshot, this looks like a standalone Azure Active Directory tenant (i.e. not linked to O365).

    The reason for the SPO License message is that OneDrive for Business is a special SharePoint Online document library that is automatically provisioned for users.

提交回复
热议问题