developer
97 TopicsWhy isn't there a PowerShell module for OneDrive?
Out of all the various applications that Microsoft produce, OneDrive stands out as an anomaly. Where is the PowerShell module for managing it? Some very simple requirements by developers are simply missing. A very simple one - can I test whether OneDrive is still synchronising and therefore I have to wait before my program/script progresses so that I'm sure we've got the latest versions or won't suddenly get "Cloud provider not running". OneDrive has been around years, this really perplexes me...170Views7likes6CommentsCongratulations, Microsoft products couldn't have been worse even if you tried.
I was thinking why should I bother posting about this, who would read it, and would it make Microsoft any better if someone reads this? But the world would never improve if no one reports this kind of bad design. So here we go. Why make it so hard to sign up for Azure, register an app, set up permissions, register an app in the MDN (whatever the F it stands for), just to be able to connect to build an ETL job that pulls from multi-tenant onedrive. Why so much text everywhere that it becomes unreasonable to read and find information that matters. Why pretend you have an AI called Copilot when it doesn't have access to data and all it does is spit back information from the docs. How to fix this? Put yourself in the shoes of someone new who's integrating Microsoft products for the first time. No assumptions. No required prior knowledge. Less text, straight to the point. No weird error messages with complicated Error IDs. If no one understands them, why bother bloat the limited screen space with it? Why not have an actual AI that can give concrete pointers instead of showing a link to a generic documentation page? This could go on, but I'm gonna practice what I preach and get straight to the point with the suggestions above. The only moat Microsoft has is the heavy corporate contracts that bind stupid corporations to use Microsoft products and services. The moment a new provider with simpler/faster/cheaper services shows up, developers and people working day-to-day with Microsoft services will gladly migrate over. My 2-cent bottle in the sea.159Views4likes2CommentsCannot access the one drive using user email addres (like "/drives/{emailAddress}")
Hi, We were using the Azure Application with special rights to upload a file to user's One Drive using OneDrive API where we identify the drives using user email. We were using the for example /drives/{userEmailAddress}/root:{filePath} to get the file info (see - https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get), but since 11th of July 2021 that does not work. Only {UserID[GUID]} might be used there and the {userEmailAddress} does not work any more. Question is if this was intended and it will stay like that or it was changed by mistake?1KViews3likes0CommentsDisable download but enable printing for excel files
Is it possible to create a permission level that prevents guest users from downloading Excel files while also allowing them to print? I want guest users to be able to print reports from a shared Excel file, but I don't want them to be able to download the file to their devices.427Views2likes4CommentsFileHandler in the OneDrive context menu in "My Files" not showing the displayName (submenu missing)
When using a Microsoft 365 file handler add-in (OneDrive File Handlers 2.0) with two custom actions. The following inconsistency appears for the context menu in the document library "My Files". Usually, with two custom actions there should be an expandable submenu. But this is missing only for some users and not for others, as I've checked the behavior with two different users. See the "addIns" definition of the application manifest below. Observed behavior: Only in "My Files" in OneDrive, the context menu shows the custom actions differently than in the other document libraries. The "displayNames" are not shown at all, as the sub menu is missing. Rather only the "actionMenuDisplayName" is shown for each custom action which does not seem intended. Context menu: Open Preview ... actionMenuDisplayName actionMenuDisplayName Expected behavior: The expected behavior if there is only one file-handler add-in installed would be the following for the context menu, to have a sub-menu that expands and that shows the displayNames of the custom actions: Context menu: Open Preview ... actionMenuDisplayName > Submenu containing "displayName" of action 1 and "displayName" of action 2 The default behavior is as expected for the document libraries in SharePoint and Teams (files) even when accessing sharepoint sites in OneDrive via quick access the behaviour is as expected. Application manifest: "addIns": [ { "id": "some-id", "type": "FileHandler", "properties": [ { "key": "actions", "value": "[{\"type\":\"custom\",\"displayName\":\"Action 1\",\"shortDisplayName\":\"Act 1\",\"icon\":{\"png1x\":\"...email address removed for privacy reasons\"},\"url\":\"someEndpoint\",\"availableOn\":{\"file\":{\"extensions\":[\"listOfFiletypes\"]},\"allowMultiSelect\":false}}, {\"type\":\"custom\",\"displayName\":\"Action2\",\"shortDisplayName\":\"Act2\",\"icon\":{\"png1x\":\".../email address removed for privacy reasons\"},\"url\":\"someEndpoint\",\"availableOn\":{\"file\":{\"extensions\":[\"listOfFiletypes\"]},\"allowMultiSelect\":false}}]" }, { "key": "appIcon", "value": "{\"svg\":\"...icon.svg\",\"png1x\":\"...email address removed for privacy reasons\",\"png1.5x\":\"...email address removed for privacy reasons\",\"png2x\":\"...email address removed for privacy reasons\"}" }, { "key": "actionMenuDisplayName", "value": "Application" }, { "key": "version", "value": "2" } ] } ],539Views2likes2CommentsAzure App to Read All ODFB External File Share Links for Governance
We have a governance requirement to monitor external sharing from ODFB. We have a script that runs daily to pull down SPO internal sharing activity that previously would include ODFB. We had to add our process account to each ODFB site collection as SCA in order to ready the file sharing metrics. Once sharing metrics were gathered, we would remove the process account as SCA. This caused some issues with ODFB indexing as each change time we change permission, the indexing was impacted. This process is no longer used. I've seen some examples where Azure apps can be granted full control access to SP site collections without user intervention. Is the same possible with ODFB where we could grant an app elevated permission in Azure to inventory sharing links in all ODFB sites?709Views2likes0CommentsOneDrive repeatedly misguiding users
Hi, Just letting you guys know that you are pushing the OneDrive agenda way too much and you are repeatedly misguiding and misrepresenting users on how and where they should store their files, without acquiring proper permission, without disclosing proper procedures, and without informing users on the consequences of their decisions. It's not your place to dictate to users how they should store their files and where to store them and organize them. Additionally, I have brought this up to support in the past: Windows Updates get installed and before I can even login, I get these blue screen prompts to go back to using Edge, as well as to use OneDrive, and to "Backup with OneDrive." The users are essentially being pushed or tricked into agreeing with whatever you want them to do and this is completely wrong. Where do these backups go? What are the folder structures? What "apps" get backed up? How do you offer Restoration in the event of a failure? What is the proper procedure to recover lost files? Do you have File/Version History? Who said it's correct, for example, to synchronize the Windows Desktop among computers? Who is issuing all these incorrect procedures on file management, backup, and synchronization?233Views1like2CommentsLatest Onedrive IOS update removed direct video record - pls restore!
Hi, A critical workflow for my business is recording videos and taking photos with iphone that upload directly into Onedrive via the IOS App. This feature seems to have been removed in the lastest ios app update. Please restore! And can anyone recommend a workaround?? Please help!Solved687Views1like2CommentsOneDrive direct download link
Hi, We have tried to get direct download link or to access publicly shared drive file with Graph API . It seems that the the URL structure has changed as well as the API. The thing behind the API is that i cant access file though https://graph.microsoft.com/v1.0/shares/{sharedDriveItem-id} this endpoint since when i get the link and try to encode it to get sharedDriveItem-id the response is that the "The sharing link no longer exists, or you do not have permission to access it.". Anyone has any idea how to get direct download URL from initial public share URL give by someone? Thank you.361Views1like1Comment