Adding iframe for files in SharePoint without guest sharing

Hello,

In my org, our sharing is restricted where it can only be shared internally. Therefore, I am not able to add files in SharePoint / OneDrive as an iFrame in Metabase.

Is there a way to get the Metabase app to try to use a specific service account for this?
I am running the OS Metabase version 51.10.

Thanks.

so you're using Sharepoint in the cloud (please correct me if I'm wrong), and Metabase maybe internally or on a cloud, and you want the files to open in a Metabase iframe like if you were authenticated.

What do the iframes show when you put them in the iframe? is it a sharepoint restriction? I mean, if you're authenticated then those files should appear fine

Yes- SharePoint in Cloud and Metabase internally and that is correct.

It doesn't load anything and my account is authenticated with M365.
All I see is this: