# Public documentation

Public documentation of the service

# Data Protection

### Data Security

<table border="1" id="bkmrk-switchdrive-onedrive" style="border-collapse: collapse; width: 100%; height: 252.534px;"><tbody><tr style="height: 29.4667px;"><td style="height: 29.4667px;">  
</td><td style="height: 29.4667px;">**SWITCHdrive**  
</td><td style="height: 29.4667px;">**OneDrive**  
</td></tr><tr style="height: 29.4667px;"><td style="height: 29.4667px;">**Storage Location**  
</td><td class="align-center" style="height: 29.4667px;">Switzerland  
</td><td class="align-center" style="height: 29.4667px;">Switzerland  
</td></tr><tr style="height: 29.4667px;"><td style="height: 29.4667px;">**Encryption**  
</td><td class="align-center" style="height: 29.4667px;">❌</td><td class="align-center" style="height: 29.4667px;">✅  
</td></tr><tr style="height: 29.4667px;"><td style="height: 29.4667px;">**Dedicated Instance data storage**  
</td><td class="align-center" style="height: 29.4667px;">❌</td><td class="align-center" style="height: 29.4667px;">✅</td></tr><tr style="height: 29.4667px;"><td style="height: 29.4667px;">**Data replication across multiple sites**  
</td><td class="align-center" style="height: 29.4667px;">❌</td><td class="align-center" style="height: 29.4667px;">✅</td></tr><tr style="height: 46.2667px;"><td style="height: 46.2667px;">**Long-Term Storage (research, archives, etc.)**  
</td><td class="align-center" style="height: 46.2667px;">❌</td><td class="align-center" style="height: 46.2667px;">❌</td></tr></tbody></table>


### Conditions of Use

The conditions of use for OneDrive are the same as those for SWITCHdrive. To know where to store which data : [https://www.unil.ch/ci/data](http://www.unil.ch/ci/data)

<table border="1" id="bkmrk-switchdrive-onedrive-1" style="border-collapse: collapse; width: 89.5062%; height: 189px;"><tbody><tr><td>  
</td><td class="align-center">**SWITCHdrive**  
</td><td class="align-center">**OneDrive**</td></tr><tr><td>Public Data  
</td><td class="align-center">✅

</td><td class="align-center">✅</td></tr><tr><td>Internal Data  
</td><td class="align-center">✅</td><td class="align-center">✅</td></tr><tr><td>Inter-Service Data  
</td><td class="align-center">✅</td><td class="align-center">✅</td></tr><tr><td>Confidential Data  
</td><td class="align-center">✅</td><td class="align-center">✅</td></tr><tr><td>Sensitive Data  
</td><td class="align-center">❌</td><td class="align-center">❌</td></tr></tbody></table>

*Public (public data, article, webpage, etc.)*  
*Internal (reserved for internal university use, not available on public websites)*  
*Inter-Service (same as above, reserved for a specific department or faculty)*  
*Confidential (document from management, HR, Finance, etc.)*

### Research Data

<p class="callout danger">Research data stored on OneDrive/Teams for collaborative work must be subsequently moved to institutional resources. It must then be deleted from OneDrive/Teams.</p>

<p class="callout info">UNIL recommends the use of institutional resources provided by the Division of Computing and Research Support ([DCSR](https://www.unil.ch/ci/fr/home/menuinst/calcul--soutien-recherche.html)) for long-term storage of research data (see Article 8 of [Directive 4.5](https://www.unil.ch/files/live/sites/central/files/textes-leg/4-rech/dir4-5-donnees-rech3.pdf) (in french)).</p>

#### Server Storage

DCSR provides [storage](https://www.unil.ch/ci/fr/home/menuinst/calcul--soutien-recherche.html) for each Principal Investigator (*PI*) in research projects. **The service is free for storage up to 1 TB per PI**.

##### [Research Resource Request](https://conference.unil.ch/research-resource-requests/)

#### Data transfer

DCSR also offers a service if you need to send data to external collaborators.

##### [File Transfer](https://filetransfer.dcsr.unil.ch/)

#### Help and Information

If you need assistance or additional information, you can contact the support personnel within your faculty:

- FBM: [Cécile Lebrand](mailto:researchdata@unil.ch), Research Data Specialist (*data steward*)
- FDCA: [Auriane Marmier](mailto:Auriane.Marmier@unil.ch), Research Data Specialist (*data steward*); [Hugo Hueber](mailto:hugo.hueber@unil.ch), Research Engineer
- FGSE: [Zhargalma Dandarova](mailto:researchdata@unil.ch), Research Data Specialist (*data steward*)
- FTSR: [Christelle Cocco](mailto:Christelle.Cocco@unil.ch), Research Data Specialist (*data steward*); [Samy Ibriz Pelaez](mailto:samy.ibrizpelaez@unil.ch), Research Engineer
- HEC: [Zhargalma Dandarova](mailto:researchdata@unil.ch), Research Data Specialist (*data steward*)
- Letters: Please address your requests to <recherche-lettres@unil.ch>
- SSP: [Ellina Mourtazina](mailto:Ellina.Mourtazina@unil.ch), Research Data Specialist (*data steward*); [Glen Lomax](mailto:ingenieur-recherche-ssp@unil.ch), Research Engineer;

<p class="callout info">For more information on research data storage, you can visit [this page](https://www.unil.ch/ci/fr/home/menuinst/catalogue-de-services/recherche/stockage-de-donnees-de-recherche.html).</p>

# Installation

## Windows 10 and 11

#### Installation:

On Windows 10 and Windows 11, OneDrive is usually installed by default. If you can't find it, you can download the application here: [https://www.microsoft.com/en-us/microsoft-365/onedrive/download](https://www.microsoft.com/en-us/microsoft-365/onedrive/download).

#### Configuration:

1. Launch the application by clicking on the icon in your taskbar  
    [![image-1620129804087.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620129804087.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620129804087.png)
    
    [![image-1620129837232.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620129837232.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620129837232.png)
2. Click on the ***Sign In*** button
    
    [![image-1620129875730.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620129875730.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620129875730.png)
3. Enter your **@unil.ch** email address.  
    [![image-1620131755437.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620131755437.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620131755437.png)
4. On the page that opens, enter your UNIL credentials (email address **@unil.ch** and UNIL password).
    
    [![image-1620131791738.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620131791738.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620131791738.png)
5. If asked to choose the account type, select ***Work or school***.
    
    [![image-1620132694735.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620132694735.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620132694735.png)
6. By default, OneDrive syncs a *OneDrive-Université de Lausanne* folder in your user folder. You can modify it if you wish. <span style="color: rgb(186, 55, 42);">Never sync an entire user folder or a folder from another synchronization application (SWITCHdrive, Dropbox, etc.)</span>.  
    [![image-1620133199607.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620133199607.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620133199607.png)
7. By default, the folders ***Desktop, Documents***, and ***Pictures*** are synced to OneDrive. You can deselect a folder if you do not want it to be added to OneDrive. Then click ***Continue***.
    
    [![image-1620133232885.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620133232885.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620133232885.png)
8. Several explanation screens will appear. Skip them by clicking ***Next***.
9. The final screen allows you to open your synchronization folder and start depositing files. If you chose to sync the Desktop, Documents, and/or Pictures folders, the data loading will start immediately.
    
    [![image-1620133474520.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620133474520.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620133474520.png)
10. You can check that your account is configured correctly if the OneDrive icon in the taskbar turns blue.
    
    [![image-1620133529265.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620133529265.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620133529265.png)

## macOS

#### Method 1: App Store

OneDrive can be installed from the Apple App Store: [https://apps.apple.com/ch/app/onedrive/id823766827?l=fr&amp;mt=12](https://apps.apple.com/ch/app/onedrive/id823766827?l=fr&mt=12)

[![image-1620655492759.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655492759.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655492759.png)

#### Method 2: Download

1. Download the installation file here: [OneDrive macOS](https://go.microsoft.com/fwlink/?linkid=823060)
2. Double-click on the installation file.
3. Click *Next* [![image-1635250620571.12.56.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635250620571-12-56.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635250620571-12-56.png)
4. Click *Install* [![image-1635250653160.13.13.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635250653160-13-13.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635250653160-13-13.png)
5. Enter your computer password and click *Install Software* [![image-1635250691996.13.45.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635250691996-13-45.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635250691996-13-45.png)
6. Once the installation is complete, click *Close* [![image-1635250753559.14.07.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635250753559-14-07.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635250753559-14-07.png)
7. Launch the application from the *Applications* folder.

### Configuration

1. Enter your UNIL email address  
    [![image-1620655662718.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655662718.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655662718.png)
2. If asked, choose **Work or school**  
    [![image-1620655754073.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655754073.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655754073.png)
3. You will then be redirected to the UNIL login page. Enter your UNIL password and click **Sign In**.  
    [![image-1620655794964.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655794964.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655794964.png)
4. By default, OneDrive syncs a *OneDrive* folder in your user folder. You can modify it if you wish. <span style="color: rgb(186, 55, 42);">**Never sync an entire user folder or a folder from another synchronization application (SWITCHdrive, Dropbox, etc.)**</span>.  
    [![image-1620655840911.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655840911.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655840911.png)
    
      
    [![image-1620655855190.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620655855190.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620655855190.png)
5. Several explanation screens will appear. Skip them by clicking ***Next***
6. The final screen allows you to open your synchronization folder and start depositing files. If you chose to sync the Desktop, Documents, and/or Pictures folders, the data loading will start immediately.

[![image-1620656053940.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620656053940.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620656053940.png)

## Linux

<p class="callout info">There is no official OneDrive client for Linux. It is recommended to use the [OneDrive web interface](https://wiki.unil.ch/ci/books/synchronisation-de-fichiers-onedrive/page/interface-web).</p>

You can use an unofficial command-line client for synchronization. For more information, read this [https://askubuntu.com/questions/804301/how-to-sync-onedrive-business-office-365-on-linux](https://askubuntu.com/questions/804301/how-to-sync-onedrive-business-office-365-on-linux), and the link to the project can be found here [https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md](https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md)

<p class="callout warning">Some Linux distributions seem to offer OneDrive through their package manager, but this version is often not up-to-date. It is advisable to follow the instructions in the GitHub repository below!</p>

### **Ubuntu 20.04**

<p class="callout warning">The simplest solution seems to be [Insync](https://www.insynchq.com/), but it is a paid service!</p>

Add the OneDrive repository to your APT sources:

`sudo vim /etc/apt/sources.list`

Add the following line at the end of the file:

`deb https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.04/ ./`

<div class="bg-black rounded-md" id="bkmrk-bash"></div>Close Vim (if you don't know how to close Vim, switch to macOS or Windows :))

Download the key for the repo and add it:

```shell
wget https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.04/Release.key
sudo apt-key add ./Release.key
```

<div class="bg-black rounded-md" id="bkmrk-bash-1"></div><div class="bg-black rounded-md" id="bkmrk-update-apt-and-insta"><div class="p-4 overflow-y-auto">Update APT and install the OneDrive client:</div><div class="p-4 overflow-y-auto">  
</div></div>```shell
sudo apt update
sudo apt install onedrive
```

<div class="bg-black rounded-md" id="bkmrk-bash-2"></div><div class="bg-black rounded-md" id="bkmrk--2"></div>Launch the client to configure it:

```shell
onedrive
```

<div class="bg-black rounded-md" id="bkmrk-bash-3"></div>This will give you:

```shell
Configuring Global Azure AD Endpoints
Authorize this app visiting:

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient

Enter the response uri

```

<div class="bg-black rounded-md" id="bkmrk-perl"></div>Click on the URL starting with [http://login.microsoftonline.com](http://login.microsoftonline.com). This will open your browser (or copy/paste it if clicking doesn't work) and log you into your Microsoft M365 account, leading you to a blank page. Copy/paste the URL of this blank page into the terminal and press Enter:

<div class="p-4 overflow-y-auto" id="bkmrk-bash-4"><div class="bg-black rounded-md"><div class="flex items-center relative text-gray-200 bg-gray-800 dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">bash</div></div><div class="bg-black rounded-md"><div class="p-4 overflow-y-auto">  
</div></div></div>```shell
Enter the response uri: https://login.microsoftonline.com/common/oauth2/nativeclient?code=[.........]

The application has been successfully authorized; however, no additional command switches were provided.

Please use --help for further assistance regarding running this application.
```

Start syncing with the following command (the `--verbose` switch can be omitted), and your OneDrive files will be synchronized to the `~/OneDrive` directory:

<div class="p-4 overflow-y-auto" id="bkmrk-bash-5"><div class="bg-black rounded-md"><div class="p-4 overflow-y-auto"><div class="p-4 overflow-y-auto"><div class="bg-black rounded-md"><div class="flex items-center relative text-gray-200 bg-gray-800 dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">bash</div></div><div class="bg-black rounded-md"><div class="p-4 overflow-y-auto">  
</div></div></div></div></div></div>```shell
onedrive --synchronize --verbose
```

There is a graphical interface based on this OneDrive version called OneDriveGUI: [https://github.com/bpozdena/OneDriveGUI](https://github.com/bpozdena/OneDriveGUI)

## Mobile Phone and Tablet

### iOS and iPadOS

<div class="p-4 overflow-y-auto" id="bkmrk-go-to-the-app-store-"><div class="bg-black rounded-md"><div class="p-4 overflow-y-auto"><div class="p-4 overflow-y-auto">1. Go to the [App Store](https://apps.apple.com/us/app/microsoft-onedrive/id477537958) and install the **OneDrive** application.
2. Enter your UNIL email address.  
    [![image-1635424149862.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635424149862.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635424149862.jpg)
3. You will be redirected to the UNIL login screen. Enter your UNIL credentials (email and password) and click *Sign In* [![image-1635424288845.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635424288845.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635424288845.jpg)
4. You will then have access to your OneDrive  
    [![image-1635424394453.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635424394453.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635424394453.jpg)

</div></div></div></div>### Android

<div class="p-4 overflow-y-auto" id="bkmrk-go-to-the-google-pla"><div class="bg-black rounded-md"><div class="p-4 overflow-y-auto"><div class="p-4 overflow-y-auto">1. Go to the [Google Play Store](https://play.google.com/store/apps/details?id=com.microsoft.skydrive&hl=en&gl=US) and install the **Microsoft OneDrive** application.
2. Launch the application and select *Sign in* *****[![image-1620135101871.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135101871.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135101871.jpg)*****
3. Enter your **@unil.ch** email address and continue  
    [![image-1620135110660.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135110660.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135110660.jpg)
4. Select **Sign in to OneDrive For Business** if prompted  
    [![image-1620135129552.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135129552.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135129552.jpg)
5. Enter your **@unil.ch** email address and your UNIL password, then click ***Sign In* [![image-1620135196765.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135196765.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135196765.jpg)**
6. The final screen after installation  
    [![image-1620135338493.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135338493.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135338493.jpg)
7. Click on "Home" to see an overview of your account  
    [![image-1620135420658.jpg](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/scaled-1680-/image-1620135420658.jpg)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-05/image-1620135420658.jpg)

</div><div class="p-4 overflow-y-auto"></div></div></div></div>

# Sharing Files and Folders

<p class="callout info">With OneDrive, you can share files or folders with other people, groups, or via a link. Sharing folders with specific individuals is useful for collaboration with internal or external individuals or groups at the University of Lausanne. The option to share via a link is preferable for sharing with a large number of people whom you may not personally know.</p>

### Sharing Folders or Files with Specific Individuals or Groups

To grant access to your OneDrive data to another person or group, you can use the web interface by logging in to [onedrive.com](https://www.onedrive.com). Then click on the three dots (1) and "Share" (2).

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/0Yuimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/0Yuimage.png)

You can also do this directly from your computer:

On macOS, right-click and choose "Share":

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/dyXimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/dyXimage.png)

On Windows, right-click on the folder or file, then select "OneDrive" and "Share":

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/YWZimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/YWZimage.png)

#### Sharing Procedure

Regardless of the method you use for sharing, you should encounter a window similar to the one below:

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/aw7image.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/aw7image.png)

1. You can add specific people or groups with whom to share the document.
2. Modify the access type of individuals by clicking on the small pencil.
3. Add a message that will be sent to the specified people or groups.
4. Finally, you can click on "Anyone with the link can edit the content" to fine-tune the sharing. You will see the following window:

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/Rrdimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/Rrdimage.png)

<p class="callout warning">By default, the sharing scope is set to "People at the University of Lausanne" only; don't forget to change this setting if you want to share a document with external people.</p>

1. Choose who can access the document or folder.
2. Specify again whether people can edit or only view what you are sharing.
3. Set an end date for sharing.
4. Set a password to access it.
5. Finally, remember to save the changes by clicking the "Apply" button.

You will then return to the previous page and can click "Send" to send a message with the sharing link to the specified people or groups.

### Sharing folders or files with people outside UNIL

The procedure to follow is the same as indicated above. You won't be able to search for the person in the directory because they are not part of UNIL. A warning message will indicate that you are sharing data outside UNIL.

[![Capture d'écran 2024-05-01 140535.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/capture-decran-2024-05-01-140535.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/capture-decran-2024-05-01-140535.png)[![Capture d'écran 2024-05-01 140600.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/capture-decran-2024-05-01-140600.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/capture-decran-2024-05-01-140600.png)

#### Limitations

When you share data with external individuals, certain features are restricted because the data belongs to UNIL from OneDrive's perspective.

Key limitations:

- Externals will only be able to edit Office files from a browser. It will be impossible to open the file in the desktop application.
- Externals will not be able to add folders and/or files to their personal OneDrive using the "Sync" or "Add a shortcut to My Files" option.
- Shared folders and files will not appear in the "Shared with me" tab in an external's OneDrive account.

If the person you are working with want to use these features, you must use a team in Microsoft Teams:

- [Créer une équipe Teams](https://wiki.unil.ch/ci/link/396#bkmrk-cr%C3%A9ation-d%27une-%C3%A9quip)
- [Ajouter des personnes externes à une équipe Teams](https://wiki.unil.ch/ci/link/396#bkmrk-invit%C3%A9s)

If someone from another institution shares data with you from their OneDrive, the limitations will be the same.

### Sharing via Link

To share items via a link, simply follow the previous procedure without specifying anyone in the recipient field and click the "Copy link" button. This option is preferred for sending to a large number of people who can modify or view the files you send them based on your settings.

<p class="callout warning">However, they cannot add or delete files in a shared folder by default.</p>

### Adding/Removing Ownership of a Shared Folder

1. Click on the three dots (1) of the file or folder you want to share and select "Manage access" in the menu (2).

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/M4iimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/M4iimage.png)

2. Click on "..." (1) and then "Advanced settings" (2).

[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/G48image.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/G48image.png)

3. Select the new/old owner (1) and click on "Edit permissions" (2).  
    [![003.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/003.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/scr-20230615-l08.png)
4. Check/uncheck "Full control" at the top of the permissions list.  
      
    [![004.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/004.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/scr-20230615-l1d.png)

### How to Find Shared Items

You can find files shared with you (2) and files shared by you (3) in the *Shared* tab of the [web version of OneDrive](https://onedrive.com/).

[![OneDrive_Partage_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/onedrive-partage-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/onedrive-partage-1.png)

**Files and folders shared with you do not automatically appear in your OneDrive folder**. To add them:

1. Go to the *Shared with you* page.
2. Once the file or folder you want to add to your OneDrive folder is selected, click on *Add shortcut to My files* in the top bar (1) or by clicking on the three dots (2).  
    [![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/KDeimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/KDeimage.png)
3. You can see the folder in your OneDrive folder (1). You can distinguish it from a folder shared by you (2 and 3) or a folder to which only you have access (4). Folders and files added to "My files" are also synchronized in your OneDrive folder if you have installed the client on your computer.  
    [![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/scaled-1680-/8Ghimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-11/8Ghimage.png)

# OneDrive Online - Web App

### Web app

1. Open a browser and go to [https://unils-my.sharepoint.com](https://unils-my.sharepoint.com)
2. Log in using your UNIL credentials

# Synchronize Teams/SharePoint Files

As the UNIL has a Microsoft 365 Business subscription, you can sync your Microsoft SharePoint and Teams files with a folder on your computer. This allows you to work directly in File Explorer and access files, even in offline mode. When you reconnect, changes made to these files are automatically synchronized.

#### To sync your Teams files

1. Prerequisites**:** Set up OneDrive on your computer.
2. Select the channel in the Teams (1-2). Open the "Files" tab and click "Sync."
    
    [![image-1635340036002.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635340036002.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635340036002.png)
3. In the window that opens, select the folders you want to sync. Click *Start sync*
    
    [![image-1635340170383.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635340170383.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635340170383.png)
4. You will then find the synchronized folder in a folder named "Université de Lausanne" in your user folder. A new tab will also be added on the left side of your Windows File Explorer or macOS Finder window.
    
    [![image-1635340845842.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635340845842.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635340845842.png)
    
    [![image-1635340901451.18.55.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635340901451-18-55.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635340901451-18-55.png)

#### Modify or Remove Sync

You can modify the list of folders you want to sync with your OneDrive account. To do this, open the software preferences and click on the *Account* tab.

##### Windows

[![image-1635341183927.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635341183927.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635341183927.png)

##### macOS

[![image-1635345001633.26.36.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635345001633-26-36.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635345001633-26-36.png)

# File or Folder Management and Recovery in OneDrive

If you delete a folder or file in your OneDrive folder, you can likely recover it from the OneDrive recycle bin. The recycle bin is only available on the web version of OneDrive.

### Access the Recycle Bin:

1. Log in to [https://unils-my.sharepoint.com/](https://unils-my.sharepoint.com/).
2. On the left menu, select *Recycle Bin*
    
    [![image-1635406914857.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635406914857.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635406914857.png)
3. You will have access to the list of folders and files that have been deleted from your OneDrive folder.
    
    [![image-1635408025130.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635408025130.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635408025130.png)
4. If you don't find the files you're looking for, they may be in the secondary recycle bin. To access it, click on the link at the end of the list of files in the recycle bin.
    
    [![image-1635408184254.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635408184254.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635408184254.png)

### Restore Data:

In the recycle bin, select the files and/or folders to restore. A blue checkmark will appear to the left of the selected data (1). Click *Restore* (2). The data will be placed back to its original location (3).

[![image-1635408368439.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635408368439.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635408368439.png)

### Permanently Delete Data:

In the recycle bin, select the files and/or folders to delete permanently. A blue checkmark will appear to the left of the selected data (1). Click *Delete* (2).

[![image-1635408477267.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635408477267.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635408477267.png)

# Version Management in OneDrive

OneDrive incorporates a version management system. With version history, you can view and restore previous versions of your files stored in OneDrive.

<p class="callout warning">It is not possible to restore entire folders.</p>

#### Version History from an Office 365 Application:

1. Open the file with a desktop application (Word, Excel, PowerPoint, etc.). In the following steps, we use Word as an example.
2. At the top of the page, click on the document name (1). The latest modification is indicated there. Then, click on *Version History* (2).
    
    [![image-1635414517156.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635414517156.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635414517156.png)
3. In the tab on the right, click on the version you want to view. It will open in a new window of the application.
    
    [![image-1635414924652.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635414924652.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635414924652.png)
4. In this new window, you can see the version (1). If necessary, you can compare the two versions (2). If the version is suitable, you can restore it (3) instead of the current version.
    
    [![image-1635415042768.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635415042768.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635415042768.png)

#### Restore a Version from the OneDrive Application:

*The procedure is the same on both Windows and macOS*

1. Right-click on the file and click on *Version History*
    
    [![image-1635423739974.19.37.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635423739974-19-37.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635423739974-19-37.png)
2. In the opened window, choose the version and click on the three dots (1). You can either directly restore the version (2) or download it (3).
    
    [![image-1635423935697.20.36.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635423935697-20-36.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635423935697-20-36.png)

#### Restore a Version from OneDrive Online:

1. Click on the three dots on the line of the relevant file. From the menu, select *Version History*
    
    [![image-1635423222823.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635423222823.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635423222823.png)
2. In the menu that opens on the right, click on the three dots (1) of the version you want to view. In the context menu, you have the choice to either directly restore (2) the version or open the file (3).
    
    [![image-1635423464942.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635423464942.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635423464942.png)
3. If it is a file from an Office software, you can see the version (1). If necessary, you can compare the two versions (2) and, if the version is suitable, restore it (3) instead of the current version.
    
    [![image-1635415042768.png](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/scaled-1680-/image-1635415042768.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2021-10/image-1635415042768.png)

# Getting Started with OneDrive

## Terms of Use

OneDrive is a service that is part of Microsoft's Office 365, the cloud solution. Therefore, you can refer to Microsoft's [Cloud Solutions Terms of Use](https://wiki.unil.ch/ci/books/microsoft-365/page/conditions-dutilisations) (in french).

<p class="callout danger">In summary, work data can be stored on OneDrive, but it is <span style="color: rgb(224, 62, 45);">prohibited</span> to store **sensitive** data.</p>

## Service Description

OneDrive is a Microsoft cloud solution that allows you to store, synchronize, and share files. In particular:

<div class="flex flex-grow flex-col max-w-full" id="bkmrk-synchronize-files-be"><div class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&]:mt-5 overflow-x-auto" data-message-author-role="assistant" data-message-id="d995863a-e0ff-4c0f-a223-e09abf9f6cea"><div class="markdown prose w-full break-words dark:prose-invert dark">- Synchronize files between multiple computers.
- Share files.
- Collaborate on shared files as a group.

</div></div></div>OneDrive **is not** a data backup solution. For this purpose, use our [workstation backup service](https://www.unil.ch/ci/fr/home/menuinst/catalogue-de-services/sauvegardes-et-securite/sauvegarde-poste-de-travail.html).

OneDrive is not an archiving solution. This service does not replace Document Management Systems (GED), NAS, etc. Refer to the rules of your service, institute, or faculty.

OneDrive **is not** a solution to synchronize your entire work environment. We strongly advise against syncing your entire user folder across multiple devices because, in addition to your data, this folder contains system-specific files. Syncing them will undoubtedly cause system failures, rendering your computer unusable.

OneDrive **is not** a lifelong solution. To access OneDrive, you must have a UNIL computer account. The closure of the UNIL account also results in the withdrawal of access to Microsoft's cloud solutions and, therefore, to OneDrive.

## Management Tools (Access, Synchronization)

OneDrive allows you to access your files at any time from any device. For this, you have various solutions:

<div class="flex flex-grow flex-col max-w-full" id="bkmrk-use-the-web-interfac"><div class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&]:mt-5 overflow-x-auto" data-message-author-role="assistant" data-message-id="d995863a-e0ff-4c0f-a223-e09abf9f6cea"><div class="markdown prose w-full break-words dark:prose-invert dark">- Use the [web interface](https://portal.office.com/) to view, add, and share your files.
- Install a **client program** directly on the device (Mac, Windows, Linux). This program will synchronize your files.
- Install an **app** on your mobile devices (Android, iOS) to view and download files (offline mode).

</div></div></div>Synchronization works on the following principle: if you modify or add a file from one computer, the addition or modification will first be reflected on OneDrive and then, in a second step, on all your devices.

## Available Space

Each user has 1TB of space.

Folders shared with you and folders synchronized from Teams or SharePoint are not counted in the calculation of used space.

## Conflict Management

When OneDrive is used for teamwork, there is a real risk that a file may be simultaneously modified by multiple people. This kind of problem is called a "conflict".

If a file is opened only through Microsoft tools (Office software, Teams, or Office Online), there will be no conflict. People who have opened the file can edit it simultaneously. The presence of another person is indicated at the top of the page and in the text.

However, if the file is opened in another software (e.g., LibreOffice), OneDrive will not be able to manage collaboration. A mechanism is provided to handle such cases: if two people simultaneously edit a file, OneDrive will detect this and automatically create a copy of the file. Thus, the first person will work on the original file, while the second will work on the copy (named *FileName-UserNameMachine*). Both files will be saved in the system.

# Downloading Data from the Website

- To download your data if you don't have the SWITCHdrive desktop application, you can visit the [service's website](https://drive.switch.ch/).
- Select the folders you want to retrieve by clicking on the small checkbox next to the icon <span style="color: rgb(230, 126, 35);">(1)</span>.
- Click on the *Download* button at the top of the page <span style="color: rgb(230, 126, 35);">(2)</span>.

<p class="callout warning">Make sure to observe the total size of the data you are about to download <span style="color: rgb(230, 126, 35);">(3)</span>. <span style="color: rgb(0, 0, 0);">The download time can be quite long, and interrupting the process may cause issues. Try to break down the download by selecting only a portion of the folders.</span></p>

[![downloadSWITCHdrive.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/scaled-1680-/downloadswitchdrive.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-06/downloadswitchdrive.png)

# File On Demand Functionality

By default, the "File on Demand" function is enabled. This means that data is downloaded only when you try to access it. This can be problematic if you are disconnected from the network and want to access your files offline.

## macOS

To download everything, you can either do this:

[![7dbe4e6a-dfe0-46e8-a905-b13b73ca175b.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/scaled-1680-/7dbe4e6a-dfe0-46e8-a905-b13b73ca175b.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/7dbe4e6a-dfe0-46e8-a905-b13b73ca175b.png)

Or in the app configuration:

[![MicrosoftTeams-image (1).png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/scaled-1680-/microsoftteams-image-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/microsoftteams-image-1.png)

## Windows

To download all files on Windows:

1. Click on the OneDrive icon in the bottom right and choose *Help &amp; Settings*.
    
    [![OneDrive_fod1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/scaled-1680-/onedrive-fod1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/onedrive-fod1.png)
2. In *Sync and Backup*, click on *Advanced settings*, and click on *Download all files*.
    
    [![OneDrive_fod2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/scaled-1680-/onedrive-fod2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2023-09/onedrive-fod2.png)

# Collaborate with UNIL members as an external user

### Without a Guest Account

If you do not have a guest account, you will only be able to access shared data via the web.

#### Sharing a Single File

- **Office Files**: The file will automatically open in Office Online (Word Online, Excel Online, etc.). You can edit the file and collaborate with the person who shared it with you. If you download the file, you can edit it using the Office application on your computer, but you will not be able to collaborate in real time with the person who shared it.
- **Non-Editable Formats**: If the file format does not support online editing, your only option will be to download the file.

#### Sharing a Folder

By default, you will be able to:

- Download data to your device.
- Upload data to the folder.
- Open Microsoft Office files in Office Online.

[![external_noguest.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/external-noguest.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/external-noguest.png)

### With a Guest Account

When invited to a **Teams group at the University of Lausanne**, you must create a guest account. This will allow you to open shared files in Office applications on your computer.

If your organization also uses Office 365 and you used your professional email address to create the guest account, you will also have access to enterprise sharing features (B2B Sharing):

- Synchronize shared data from OneDrive to your computer.
- Synchronize Teams data from the University of Lausanne on your computer.

#### Synchronize shared data from OneDrive

<p class="callout warning">Prerequisites : You must install and configure OneDrive on your computer using your organization’s account. Refer to your IT department’s documentation for instructions.</p>

<p class="callout danger">This option may not always be available. Certain settings in your organization could block this functionality. If synchronization cannot be set up, the "Synchronize" button will not appear.</p>

<p class="callout danger">The "Add shortcut to My Files" option does not work if the sharing is from another organization. This is a bug on Microsoft’s side.</p>

1. Open the sharing link and click on the **"Sync"** button.  
    [![sync_ext_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/sync-ext-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/sync-ext-1.png)
2. In the following window, select the data you want to synchronize and confirm.  
    [![sync_ext_2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/sync-ext-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/sync-ext-2.png)
3. A folder named **"Université de Lausanne"** will appear in your file explorer or Finder. The data you choose to synchronize from UNIL contacts will be added to this folder.  
    [![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/qagimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/qagimage.png)

### Synchronizing Shared Data from Teams

1. In Teams, click on the profile icon in the top-right corner of the application (1). If you’ve been invited to a Teams group at UNIL, you should see **"Université de Lausanne"** in the menu (2). This button allows you to switch to UNIL’s Teams.[![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/JBCimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/JBCimage.png)
2. To synchronize the team’s data to your OneDrive, follow the instructions provided on this page.
3. Once synchronization is set up, a folder named **"Université de Lausanne"** will appear in your file explorer or Finder.
    
    [![image.png](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/scaled-1680-/JELimage.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2024-05/JELimage.png)