onedrive-sdk-csharp | https : //dev.onedrive.com | Runtime Evironment library
kandi X-RAY | onedrive-sdk-csharp Summary
kandi X-RAY | onedrive-sdk-csharp Summary
Integrate the OneDrive API into your C# project!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of onedrive-sdk-csharp
onedrive-sdk-csharp Key Features
onedrive-sdk-csharp Examples and Code Snippets
Community Discussions
Trending Discussions on onedrive-sdk-csharp
QUESTION
My UWP app uses app folder (Files.ReadWrite.AppFolder
) for storing app data on OneDrive. I upgraded the app to use Microsoft Graph SDK instead of the old OneDrive SDK (version 1.x).
I didn't get the authentication to work using the old client id registered in https://apps.dev.microsoft.com, so I registered my app in https://aad.portal.azure.com/ and I use MSAL.NET for authentication.
The problem is that the upgraded app creates a new app folder on OneDrive (My App 1) instead of using the old and existing app folder (My App). This would result users loosing their data when they upgrade to this new version.
What should I do to make the upgraded app access the existing app folder and not to create a new one?
...ANSWER
Answered 2020-Sep-19 at 21:13It isn't possible, the app folder is linked to the application's id. If you switch your App Id, you will lose access to the previous folder.
What you really need to do is update your previous app registration and use that to authenticate against Graph.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install onedrive-sdk-csharp
Search for Microsoft.OneDriveSDK in the NuGet Library, or
Type Install-Package Microsoft.OneDriveSDK into the Package Manager Console.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page