Skip to content
Snippets Groups Projects
README.md 1.76 KiB
Newer Older
Recolic Keghart's avatar
Recolic Keghart committed
# Intune for Archlinux

There are two levels of Intune Setup. 

After installing level-1, you can access everything with certificate copied from a level-2 machine.   
After installing level-2, you can actually enroll the machine. 

## Install Level-1

Recolic Keghart's avatar
Recolic Keghart committed
1. Install `libsdbus-c++0 msalsdk-dbusclient msft-identity-broker` packages in this repo. 
2. Install `microsoft-edge-dev-bin` from AUR. 
Recolic Keghart's avatar
Recolic Keghart committed

## Install Level-2 and enroll

> Installing level-2 components will make your machine managed. You must satisfy password requirements, and disk-encryption requirements. 

TBD

<!--
1. install intune-portal and its dependencies (pwquality)
2. copy /etc/os-release from ubuntu 2004 to archlinux
3. make sure you followed procedure of official doc
-->

## Move certificates from Level-2 machine to Level-1 machine

Copy the following files from enrolled Level-2 machine to unenrolled Level-1 machine: 

```
/var/lib/msft-identity-device-broker/1000.db
/etc/machine-id
/etc/os-release # Note: this is a symbol-link in ubuntu
/home/YourName/.config/msft-identity-broker/account-data.db
/home/YourName/.config/msft-identity-broker/broker-data.db
/home/YourName/.config/msft-identity-broker/cookies.db
/home/YourName/.local/share/keyrings/login.keyring
```

Recolic Keghart's avatar
Recolic Keghart committed
Reboot. 

Run `seahorse` to double-confirm your "login" keyring is not empty. It may ask you to enter the previous keyring password. 

You are all set! 
Recolic Keghart's avatar
Recolic Keghart committed

Recolic Keghart's avatar
Recolic Keghart committed
## FAQ and debug

If your edge browser is not allowing you to login, check the following logs: 

1. Any error message in `journalctl --user -u msft-identity-broker.service`?
2. Any error message in `sudo journalctl -u msft-identity-device-broker.service`? 
3. Run `seahorse` and is there Intune entries in your `login` keyring? 
4. Run `ldd /usr/lib/libmsal_dbus_client.so`. Is there undefined reference?