I've created a CSV file that has our models of PCs that I use in a switch statement
I'd like to upload that to OneDrive for Business in my organization so that way I can rely on the cloud, thus having the ability to update just the file and not the application whenever a new model comes out.
It's looking to be a pain right now, is there a simple direction to follow?
OneDrive and PowerShell
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: OneDrive and PowerShell
Hi,
Sorry if I wasn't clear
I'd like the application to be able to read from my CSV file that's on my OneDrive
Sorry if I wasn't clear
I'd like the application to be able to read from my CSV file that's on my OneDrive
Re: OneDrive and PowerShell
You can also use the OneDrive CmdLets to access and manage OneDrive:
https://www.powershellgallery.com/packa ... rive/1.1.3
https://www.powershellgallery.com/packa ... rive/1.1.3
Re: OneDrive and PowerShell
Hi, Thanks and I'm working through this OneDrive\Graph API\Azure deal
this application is shared across multiple people and I don't wanna keep it on my PC
this application is shared across multiple people and I don't wanna keep it on my PC
Re: OneDrive and PowerShell
Looks like I'm going to get stuck at
"needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it."
we're still new to Azure and they aren't around so I guess I'm stuck for now
"needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it."
we're still new to Azure and they aren't around so I guess I'm stuck for now
Re: OneDrive and PowerShell
What you want is to use SharePoint and create a shared drive that all systems are mapped to. Now you can distribute all manner of files and not have to use any APIs to do this.
"Graph" is intended for other things and not just simple file sharing. First configure your SharePoint to share files. Then use Graph or other tools to store the files and maintain the drive. In your request only a shared 1Drive for business is required or a SharePoint drive. From there you can just use basic PS to maintain the files.
"Graph" is intended for other things and not just simple file sharing. First configure your SharePoint to share files. Then use Graph or other tools to store the files and maintain the drive. In your request only a shared 1Drive for business is required or a SharePoint drive. From there you can just use basic PS to maintain the files.
Re: OneDrive and PowerShell
With the way our sharepoint admins are, I'd much rather not.. I do appreciate it
I did end up just using the free azure for a year as I'm hosting a minimal count of files with less than 20 KB in size on a blob storage
All tested and ready to distribute now
I did end up just using the free azure for a year as I'm hosting a minimal count of files with less than 20 KB in size on a blob storage
All tested and ready to distribute now