Linux HowTo: What is the location (skydrive) of an opened online office 365 document?

Original Source Link

I know that for normal office desktop application you can know where the application is located by going into the file Tab like as the tutorial said.

https://images.tips.net/S06/Figs/T4869F2.png

How about online office files opened in browser, how do i know what is the location of the file?

For office 365 you can click on the top link, then the location is shown.

enter image description here

They’re either stored on a OneDrive virtual folder or on a SharePoint “folder” (directory, more like), but in both cases, they’re in the cloud, and linked to a specific account.

You need credentials and/or permissions to access them (in the case of a SharePoint folder).

You can download a local copy of a document for ease of use if you want to edit it with your local Word or Excel, then upload it back into the cloud if you want. If the document is shared with others, and they too need to edit it while you are doing that on your PC, there might be data corruption, though.

Those documents are meant to be created, edited, saved and shared online.

Tagged : /

Making Game: What is the location (skydrive) of an opened online office 365 document?

Original Source Link

I know that for normal office desktop application you can know where the application is located by going into the file Tab like as the tutorial said.

https://images.tips.net/S06/Figs/T4869F2.png

How about online office files opened in browser, how do i know what is the location of the file?

For office 365 you can click on the top link, then the location is shown.

enter image description here

They’re either stored on a OneDrive virtual folder or on a SharePoint “folder” (directory, more like), but in both cases, they’re in the cloud, and linked to a specific account.

You need credentials and/or permissions to access them (in the case of a SharePoint folder).

You can download a local copy of a document for ease of use if you want to edit it with your local Word or Excel, then upload it back into the cloud if you want. If the document is shared with others, and they too need to edit it while you are doing that on your PC, there might be data corruption, though.

Those documents are meant to be created, edited, saved and shared online.

Tagged : /

Code Bug Fix: List and Download Files from OneDrive

Original Source Link

I am just trying the thing in the tittle, I through it will be easy, but it doesn’t seems.
Currently I am trying to do that on my drive. Here it is what I have done, get the token of my azure account and connect to graph (I will test with app registration when that will work) :

        var credential = new DefaultAzureCredential();
        var token = credential.GetToken(
            new Azure.Core.TokenRequestContext(
                new[] { "https://graph.microsoft.com/.default" }));

        var accessToken = token.Token;
        Console.WriteLine($"Token : {token.Token}");
        var graphClient = new GraphServiceClient(
            new DelegateAuthenticationProvider((requestMessage) =>
            {
                requestMessage
                .Headers
                .Authorization = new AuthenticationHeaderValue("bearer", accessToken);

                return Task.CompletedTask;
            }));

But now, I don’t understand anything with this Microsoft Graph
I have try that to see if I can access to my drive :

        var sharedWithMe = graphClient.Me.Drive.Request().GetHttpRequestMessage();
        Console.WriteLine($"Shared with me: {sharedWithMe.ToString()}");

here the response :

Shared with me: Method: GET, RequestUri: 'https://graph.microsoft.com/v1.0/me/drive', Version: 1.1, 
Content: <null>, Headers:
{
}

So clearly nothing, don’t understand why.
I just want to list the file to download some.

Other thing : It is possible for me to have a shared link of the folder. Is there an other way with this link to list the files into this folder and download some without using this graph API?

Thanks

Tagged : / /

Linux HowTo: How do I reinstall Windows 10 File Explorer?

Original Source Link

I want to uninstall Windows 10 File Explorer, then reinstall it. How do I accomplish this task?

Motivation: Every time I navigate to my C:UsersMyUserIDOneDrive - BusinessDocuments directory two things happen:

  1. The C:UsersMyUserIDOneDrive - BusinessDocuments folder is opened in my current instance of File Explorer.
  2. An additional File Explorer occurrence spawns with the following path; C:UsersMyUserIDOneDrive - Business (one level up from the previous directory).

Action #2 above is unwanted, and I just close the window (constantly). This #2 behavior started after I installed One Drive. I can’t find any way to disable action #2 above either. Uninstalling and reinstalling OneDrive didn’t help.

With most things Windows it seems the only solution is to uninstall, then reinstall. But is it even possible with File Explorer?

I tried for over a year to fix a bug like this (and could not). I reinstalled (over the top, not fresh) windows, did SFC /scannow.. etc etc.

For me, it appeared to be a problem somewhere in HKCU because if I logged in as another user, it didn’t happen. I am betting that it is a rogue shell extension.

I eventually found the following batch file and added a few lines of my own.

It would make the problem go away for a while.. until it came back. Then I would run it again.

It might help you.

`

@echo off

::kill explorer.exe
taskkill /f /im explorer.exe

:: To reset folder view settings of all folders
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellBagMRU" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellBags" /F

Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellNoRoamBags" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellNoRoamBagMRU" /F

Reg Delete "HKCUSOFTWAREClassesLocal SettingsSoftwareMicrosoftWindowsShellBagMRU" /F
Reg Delete "HKCUSOFTWAREClassesLocal SettingsSoftwareMicrosoftWindowsShellBags" /F

Reg Delete "HKCUSOFTWAREClassesWow6432NodeLocal SettingsSoftwareMicrosoftWindowsShellBags" /F
Reg Delete "HKCUSOFTWAREClassesWow6432NodeLocal SettingsSoftwareMicrosoftWindowsShellBagMRU" /F

:: To reset "Apply to Folders" views to default
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerStreamsDefaults" /F

:: To reset size of details, navigation, preview panes to default
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerModulesNavPane" /v ExpandedState /F

:: restart explorer
start explorer.exe

`

Tagged : / / / /

Making Game: How do I reinstall Windows 10 File Explorer?

Original Source Link

I want to uninstall Windows 10 File Explorer, then reinstall it. How do I accomplish this task?

Motivation: Every time I navigate to my C:UsersMyUserIDOneDrive - BusinessDocuments directory two things happen:

  1. The C:UsersMyUserIDOneDrive - BusinessDocuments folder is opened in my current instance of File Explorer.
  2. An additional File Explorer occurrence spawns with the following path; C:UsersMyUserIDOneDrive - Business (one level up from the previous directory).

Action #2 above is unwanted, and I just close the window (constantly). This #2 behavior started after I installed One Drive. I can’t find any way to disable action #2 above either. Uninstalling and reinstalling OneDrive didn’t help.

With most things Windows it seems the only solution is to uninstall, then reinstall. But is it even possible with File Explorer?

I tried for over a year to fix a bug like this (and could not). I reinstalled (over the top, not fresh) windows, did SFC /scannow.. etc etc.

For me, it appeared to be a problem somewhere in HKCU because if I logged in as another user, it didn’t happen. I am betting that it is a rogue shell extension.

I eventually found the following batch file and added a few lines of my own.

It would make the problem go away for a while.. until it came back. Then I would run it again.

It might help you.

`

@echo off

::kill explorer.exe
taskkill /f /im explorer.exe

:: To reset folder view settings of all folders
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellBagMRU" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellBags" /F

Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellNoRoamBags" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsShellNoRoamBagMRU" /F

Reg Delete "HKCUSOFTWAREClassesLocal SettingsSoftwareMicrosoftWindowsShellBagMRU" /F
Reg Delete "HKCUSOFTWAREClassesLocal SettingsSoftwareMicrosoftWindowsShellBags" /F

Reg Delete "HKCUSOFTWAREClassesWow6432NodeLocal SettingsSoftwareMicrosoftWindowsShellBags" /F
Reg Delete "HKCUSOFTWAREClassesWow6432NodeLocal SettingsSoftwareMicrosoftWindowsShellBagMRU" /F

:: To reset "Apply to Folders" views to default
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerStreamsDefaults" /F

:: To reset size of details, navigation, preview panes to default
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerModulesGlobalSettingsSizer" /F
Reg Delete "HKCUSOFTWAREMicrosoftWindowsCurrentVersionExplorerModulesNavPane" /v ExpandedState /F

:: restart explorer
start explorer.exe

`

Tagged : / / / /

Linux HowTo: Where would my emails go if I set an alias?

Original Source Link

I have a microsoft account that I have some files on. Now I want to add my other microsoft account that I have some files on that too as an alias to the first account. What will happen to my files? And where would my emails go? Imagine I have OneNote notes on both of the accounts.

Adding an alias to the MS Account has no impact on the Account itself. Just a different email address used to log into the account.

The files that belonged to two different accounts will remain unchanged.

Tagged : / / /

Making Game: Where would my emails go if I set an alias?

Original Source Link

I have a microsoft account that I have some files on. Now I want to add my other microsoft account that I have some files on that too as an alias to the first account. What will happen to my files? And where would my emails go? Imagine I have OneNote notes on both of the accounts.

Adding an alias to the MS Account has no impact on the Account itself. Just a different email address used to log into the account.

The files that belonged to two different accounts will remain unchanged.

Tagged : / / /

Code Bug Fix: Microsoft Graph API: GET “/users/{email}/drive/sharedWithMe” doesn’t returns files shared by people outside of my domain

Original Source Link

Microsoft Graph API: “/users/{email}/drive/sharedWithMe” doesn’t returns files shared by people outside of my domain.
This API is returning only files that are shared by people from my own domain but it’s missing files that are shared by people outside of my domain.
I can see the missing files under Shared->”Shared With Me” section in my OneDrive.
How can I list files shared by people outside of my domain?

Tagged : /

Making Game: OneDrive Business: Folder shows green checkmark although directory is not completely synchronized

Original Source Link

OneDrive Business is syncing to the local file system.

In the file explorer, it often happens that a folder shows a green check mark, but when I go into the folder, then some of the content shows the blue “refreshing” checkmark and is still syncing.

IMHO this is a severe bug. You think the folder’s content is already downloaded, but actually the content is still syncing.

Can this be prevented?

Tagged : / /

Linux HowTo: How to upload large folders to onedrive

Original Source Link

I have a 500GB external drive full of data. I need to use this drive so, since I have 1TB of storage in OneDrive, I want to uploaded the content to free up the drive. I have a quite good connection too, so I figured it wouldn’t take too long. The thing is that I can’t find a way to upload this folder with the OneDrive Windows app.

Looking online, everyone proposed to move folders to my computer and then upload it, but that isn’t an option since I don’t have enough space in it. The other option is using the web app, but it is very unreliable and will stop working more often than not. Besides, if it stops, the upload has to start from the beginning.

  • Download the open source 7-Zip for Windows freeware and install it.
  • Start it in its file manager mode (7z.exe, not 7za.exe from the command line)
  • Create an archive file of selected content under 20GB in size from that external drive.
  • Upload that archive from a current version of a web browser or using the Windows OneDrive app. Remember, OneDrive will fail when you exceed 20GB in your uploaded file if using a web browser.
  • Download it.
  • Use FC (a native Windows app) to verify the download matches the original file, a la FC /B ORIGINAL.7Z DOWNLOADED.7Z
  • When it verifies, delete ORIGINAL.7Z and DOWNLOADED.7Z both.

  • Repeat the process until the entire drive’s content has been uploaded, downloaded, verified, and deleted.

You may be running into the 20GB OneDrive upload limit.
Divide the files into manageable folders, and make compressed archives of those folders. You can file folders inside other folders. Use a visualizer like https://windirstat.net/ to identify which folders you need to break into sub-folders.

When you have a folder between 19-20 GB, run it through a compression program like WinZip, 7Zip, or WinRAR. Understand that many file types like video and jpg will not compress much. Understand that different OSes count binary versus decimal GB differently.

Upload the individual folders to OneDrive.

External Hard Drives are cheap in 2018. For $200, you can get a 10 TB drive that will be reasonably reliable for years.

Tagged : /