add Teams (#25)
This commit is contained in:
9 files changed
+84
-2
No files matched your search
+1
-1
@@ -92,4 +92,4 @@ sudo rm /etc/systemd/user/default.target.wants/onedrive.service
|
||||
``` bash
|
||||
sh -c "onedrive --monitor"
|
||||
```
|
||||
|
||||
|
||||
+2
-1
@@ -2,4 +2,5 @@
|
||||
Working environment at HES-SO
|
||||
</h1></header>
|
||||
|
||||
- [OneDrive - Linux](HES-SO/OneDrive.md)
|
||||
- [OneDrive - Linux](HES-SO/OneDrive.md)
|
||||
- [Teams](HES-SO/Teams.md)
|
||||
@@ -0,0 +1,79 @@
|
||||
<header><h1>
|
||||
Teams - Linux
|
||||
</h1></header>
|
||||
|
||||
It's possible to have Microsoft Teams on Linux and to mount teams folder.
|
||||
|
||||
----------
|
||||
|
||||
# Install Microsoft Teams on Linux
|
||||
|
||||
<details>
|
||||
<summary>Install Snap</summary>
|
||||
|
||||
``` bash
|
||||
sudo apt update
|
||||
sudo apt install snapd
|
||||
```
|
||||
</details>
|
||||
|
||||
``` bash
|
||||
sudo snap install teams-for-linux
|
||||
```
|
||||
|
||||
# Mount Teams folder
|
||||
The various software for backing up One Drive require a "Drive ID" for copying documents.
|
||||
For the personal drive of the account this is done automatically but when you want the ID of a Teams group,
|
||||
you need the address of the Sharepoint drive. Here's how to get it.
|
||||
|
||||
## Find drive ID
|
||||
|
||||
1. Open the [Microsoft Graph](https://developer.microsoft.com/en-us/graph/graph-explorer) site and go to Graph Explorer
|
||||
2. Sign in with your Microsoft account and make sure the tenant is HESSO
|
||||
3. Insert the command: `https://graph.microsoft.com/v1.0/sites?search={Name_of_your_team}` then execute it. The text to the right of the symbol = acts as a search engine.
|
||||
Here we want all sites related to FS. <br>
|
||||
 <br>
|
||||

|
||||
4. Retrieve the site identification (id).
|
||||
We also check that the site name is correct, here the first one is "ProjetFS" which is indeed the name of the Sharepoint. <br>
|
||||
Here the site id is: "hessoit.sharepoint.com,65c4ef54-f1dd-40f2-af2d-6831f7157a0c,9f964f78-7045-481f-8f08-bb22d56de14e"
|
||||
5. Now taper the command: `https://graph.microsoft.com/v1.0/sites/{site-id}/drive` by replacing `{site-id}` with the result obtained previously. <br>
|
||||
 <br>
|
||||

|
||||
6. Retrieve the drive identification (id). <BR>
|
||||
Here the drive id is: "b!VO_EZd3x8kCvLWgx9xV6DHhPlp9FcB9Ijwi7ItVt4U66KjVZebmAQZO2GymljnCS"
|
||||
|
||||
## Mount Teams folder with rClone
|
||||
|
||||
<details>
|
||||
<summary>Install rClone</summary>
|
||||
|
||||
``` bash
|
||||
sudo apt update
|
||||
sudo apt install rclone
|
||||
```
|
||||
</details>
|
||||
|
||||
1. Configure rClone:
|
||||
``` bash
|
||||
rclone config
|
||||
```
|
||||
2. Follow the instructions to configure rClone
|
||||
1. It's a "OneDrive" configuration
|
||||
2. Leve blank the "client_id" and "client_secret"
|
||||
3. It's on Microsoft Cloud Global
|
||||
4. Choose "Type in driveID"
|
||||
3. Create a directory to mount the Teams:
|
||||
``` bash
|
||||
mkdir ~/Teams/{Team_name}
|
||||
```
|
||||
4. Mount Teams folder:
|
||||
``` bash
|
||||
rclone --vfs-cache-mode writes mount {team_name}: ~/Teams/{Team_name}
|
||||
```
|
||||
5. Automount Teams folder on Startup <br>
|
||||
6. On `Startup Applications` add a new entry with the following command:
|
||||
``` bash
|
||||
sh -c "rclone --vfs-cache-mode writes mount {team_name}: ~/Teams/{Team_name}"
|
||||
```
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
@@ -24,3 +24,4 @@ Here some note specific about some Embedded System
|
||||
Here some note about the working environment at HES-SO
|
||||
|
||||
- [OneDrive - Linux](/HES-SO/OneDrive.md)
|
||||
- [Teams - Linux](/HES-SO/Teams.md)
|
||||
@@ -8,3 +8,4 @@
|
||||
* [nRF](/Embed/nRF/)
|
||||
* [HES-SO](/HES-SO/)
|
||||
* [OneDrive - Linux](/HES-SO/OneDrive.md)
|
||||
* [Teams - Linux](/HES-SO/Teams.md)
|
||||
Reference in new issue
Block a user