A Microsoft file hosting and synchronization service.
Dear GuidoPeters,
Thank you for the reply.
Since in the title you mentioned "getting data from sharepoint/Onedrive", we assume you use a business account. And from your reply, you are trying to get data from your personal OneDrive. The steps to connect personal OneDrive and business OneDrive are different. You can follow the below steps to see if you could get data from your personal OneDrive successfully:
- Go to OneDrive, click on the three dots next to the file name, and selectEmbed from the menu.
- Click the Generate button in the pane, copy the generated code, and paste it into Notepad.
- Remove parts of the code:
<iframe src="https://onedrive.live.com/embed?cid=xxxxxxxxxxxxxxx& resid=xxxxxxxxxxxxxxx%xxxxxx&authkey=xxxxxxxxxxxxxxx&em=2" width="402" height="346" frameborder="0" scrolling="no"></iframe> - The final URL looks like this: https://onedrive.live.com/****download****?cid=xxxxxxxxxxxxxxx&resid=xxxxxxxxxxxxxxx%xxxxxx&authkey=xxxxxxxxxxxxxxx&em=2
- In Excel, click Data > From Web, and paste the above URL into the URL box.
- Choose Anonymous or Basic to connect, and click OK.
Sincerely,
Jazlyn | Microsoft Community Moderator