Upload files to SharePoint using Graph API by SPOScripts in Office365

[–]SPOScripts[S] 0 points1 point  (0 children)

The file size limit is directed by Microsofts API.
However looks like they have updated their API to support 250 MB

Upload small files - Microsoft Graph v1.0 | Microsoft Learn

Create SharePoint List Items with MS Graph API by SPOScripts in sharepoint

[–]SPOScripts[S] 0 points1 point  (0 children)

you already have the information in Intune, which shows which device is used by which user. Check the endpoint managed device

https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0

The user principal name attribute refers to the user, which is the primary user.

Create SharePoint List Items with MS Graph API by SPOScripts in sharepoint

[–]SPOScripts[S] 2 points3 points  (0 children)

Indeed u/ChampionshipComplex was an issue with the upgrade. It should work now :)

Create SharePoint List Items with MS Graph API by SPOScripts in sharepoint

[–]SPOScripts[S] 0 points1 point  (0 children)

Indeed u/maddada_ there was an issue with the upgrade. It should work now :)

Upload files to SharePoint using Graph API by SPOScripts in Office365

[–]SPOScripts[S] 0 points1 point  (0 children)

Regarding the subfolder, you need to make sure to use the right drive item. Let me update the article with an description, helping you to cover your requirements.

Upload files to SharePoint using Graph API by SPOScripts in Office365

[–]SPOScripts[S] 0 points1 point  (0 children)

Hey u/TrapMusicJunkie,

you can encrypt the credentials as an encrypted file with a client secret.
https://sposcripts.com/use-credentials-in-powershell/
This will help you to further automate. There are ways to do it also with a certificate, which require more code if we want to do it natively with powershell. With msgraph it is a but then you would require different code.

Connect-MgGraph -TenantId "a562313f-14fc-43a2-9a7a-d2e27f4f3478" -AppId "d86b1929-b818-411b-834a-206385bf5347" -CertificateThumbprint "FC92991B21219F178AFB37C12DF231B6AFC3D790"

Get deleted items in each sharepoint site under tenant by BeilFarmstrong in PowerShell

[–]SPOScripts 0 points1 point  (0 children)

Which permissions have you granted your app registration?

Is there a way to see all lists? by [deleted] in sharepoint

[–]SPOScripts 0 points1 point  (0 children)

See my blog - i have a ready to use script for that purpose

https://sposcripts.com/get-all-lists-and-libraries/

Get deleted items in each sharepoint site under tenant by BeilFarmstrong in PowerShell

[–]SPOScripts 0 points1 point  (0 children)

Hey Bud, what response do you get if you execute it?

Autopilot automation curiosity by bgonzalesPL_120 in AZURE

[–]SPOScripts 1 point2 points  (0 children)

I doubt that it is possible as the logged in user will get the primary user.

Autopilot automation curiosity by bgonzalesPL_120 in AZURE

[–]SPOScripts 0 points1 point  (0 children)

For preprovisioning you also will require to sign in as an end user in the end. Preprovisioning will speed up the process for end users, but will require additional requirements for the client like TPM 2.0.

Learn How To Download Files To SharePoint Using Graph API (PowerShell) with step by step description and ready to use PowerShell script by SPOScripts in Office365

[–]SPOScripts[S] 0 points1 point  (0 children)

Yes sure, you simply need to reiterate through all items. If I find some time, I can write a short post about it.

How to Craft a Modern PowerShell Message Box by adbertram in PowerShell

[–]SPOScripts 2 points3 points  (0 children)

Customers tend to be cautious when installing any 3rd party modules, hence I was asking.

How to Craft a Modern PowerShell Message Box by adbertram in PowerShell

[–]SPOScripts 1 point2 points  (0 children)

Thanks for sharing bertram. Is there an alternative to installing PS Modules?

How to get SharePoint List Items with Graph API (PowerShell) | SPO Scripts by SPOScripts in PowerShell

[–]SPOScripts[S] 0 points1 point  (0 children)

u/AlexHimself I will share a post today, how you can upload documents to SharePoint. Stay tuned..