3

I'm a bit clueless about how to login into "online account" for Office365 in Ubuntu Gnome.

When you want to login the account, you're supposed to provide Client ID and Tenant ID as you can see here.

here

I registered an app in Microsoft Entra website, to obtain client and tenant ID, but when I try to login from Gnome, it redirects me to web browser and I receive error saying AADSTS500113: No reply address is registered for the application, as you can see here.

here

I guess I need to specify "redirect Uri", but I have no idea what kind. I didn't find any documentation for this. Does anyone know how to set it up?

karel
  • 122,695
  • 134
  • 305
  • 337
Peter
  • 133

3 Answers3

3

Everything here is optional! The UI is misleading, you can safely skip this step and click "Sign in" without filling in the tenant/client ID.

Relevant issue on gnome bugtracker: https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/319

Tooster
  • 632
2

client id is optional, try just entering tenant id which should open a permissions request in your browser

  • I tried that and I got error saying: Need admin approval. This app may be risky. If you trust this app, please ask your admin to grant you access.
    I will try to get app whitelisted by my admin and see if that works. But in the meantime, is there a way to avoid requesting admin access, by creating an "app" on your own in MS Entra?
    – Peter Nov 07 '24 at 09:31
0

I create app in MS EntraID (like you) copy clientid and tennantid to gnome. In entraid -> "created app" -> authentication -> add platform -> mobile and desktop app -> there I set URI goa-oauth2://localhost but the next login attempt I got error message like this:

Endpoint goa-oauth2://localhost/d5cce8b6-xxxx-xxxx-xxxx-32a291534534 not registered.

So then I set URI from error message to entraid and login again. Login was succesful. (Browser ask to open local app and gnome online accounts show up logged with other logged accounts.)

So, in nautilus I see online files, but no mailbox in evolution :(