# Signing in to your Microsoft 365

> Why some Admin Center settings ask you to sign in to your organisation's Microsoft 365, what that reads, what it can change, and how it's logged and ended.

Source: https://getofficeconnect.com/docs/admin-center/connect/

Some settings are picked from your own SharePoint, such as the lists and
libraries behind your [tabs](https://getofficeconnect.com/docs/admin-center/tabs.md). For those, the
**Settings** tab asks you to sign in to your organisation's Microsoft 365. It's a
second sign-in, separate from your Admin Center sign-in, which doesn't change.

## Signing in

1. On **Settings**, select **Sign in to Contoso Ltd…** in the strip at the top. Everything that needs it stays greyed out until you do, and says where to sign in.
2. The dialog explains what happens. Select **Sign in to Contoso Ltd**.
3. Microsoft's sign-in window opens. Pick your Contoso account. If you're signed in to the Admin Center with a Contoso account, Microsoft suggests it, and you confirm it.

The Admin Center signs in with an add-in's own app, one your organisation
approved when it installed that add-in, so there's nothing new to approve. The
dialog and Microsoft's window name it:

- **OfficeConnect**, if your organisation has opened OfficeConnect but never MailConnect.
- **MailConnect** otherwise: if it has ever opened MailConnect, or neither add-in yet.

If Microsoft asks you to accept permissions, cancel: it means that add-in isn't
set up in your tenant, and nothing should be granted from here. If you've just
installed OfficeConnect and nobody has opened it yet, that's why: open
OfficeConnect once in Word, Excel or PowerPoint and let it sign you in, then
reload the Admin Center and sign in again.

Once you're signed in, the strip says **Connected to Contoso Ltd as …**, with
**Disconnect**.

![The green “Connected to Contoso Ltd as Anna Berg” strip with Disconnect, and What OfficeConnect can read in Contoso Ltd expanded, with Read again](https://getofficeconnect.com/docs/admin-center/connect/connect-strip.png)

## Who can sign in

Anyone who can change your settings: your Admins, your partner's Owners and
Managers, and Pinksky. They need an account in your Microsoft 365: their own, or
a guest account you've given them. Accounts from anywhere else are refused. With
a guest account, the strip says so.

Everyone reaches only what their account can reach in SharePoint. Guests often
get no search results when picking a site: they paste a link to the site instead.

## What it reads

Everything the Admin Center reads here is read in your browser and shown only to
you: sites, lists and libraries, groups found by name, and the content types in
your Content Type Hub, which MailConnect's settings use. It changes nothing.
**What OfficeConnect can read in Contoso Ltd** (or MailConnect, by the app it
signed in with), under the strip, shows the first reads, such as your
SharePoint's root site. **Read again** repeats them.

Nothing read is sent to or stored by Pinksky. Only what you save is, such as a
tab's site, list and column names. The full list of reads is under
[What the Admin Center can do in your tenant](https://getofficeconnect.com/docs/security/admin-center-in-your-tenant.md#what-it-reads).

## What it can change

Nothing, for OfficeConnect. OfficeConnect uses the site columns and content types
already in your SharePoint, and the Admin Center creates none for it.

The same Admin Center can create MailConnect's own columns and content types, if
you use MailConnect: see
[MailConnect's docs](https://getmailconnect.com/docs/admin-center/sharepoint-columns/).
That needs MailConnect's app. Signed in with OfficeConnect's, creating and
removing them is greyed out, with the note *Signed in to Contoso Ltd with
OfficeConnect's app, which can't create or remove content types: that needs
MailConnect's app.*

## How long it lasts

The sign-in lasts while you're on your organisation's pages. Opening another
organisation, reloading the page, closing the tab or **Disconnect** ends it. None
of these signs you out of Microsoft, and your Admin Center sign-in stays as it is.

## Every connection is logged

Each sign-in is recorded in Pinksky's audit log: who signed in from the Admin
Center, which account was used, whether it was a guest, which add-in's app signed
in, and whether each read worked. If the log can't be written, the connection is ended and nothing is shown.

## If it doesn't connect

| Message | What to do |
|---------|------------|
| **The sign-in window was blocked** | Allow pop-ups for the Admin Center in your browser, then try again. |
| **Not connected**: you signed in as …, which isn't an account in Contoso Ltd | Try again with an account in your organisation. |
| **Not connected**: that account isn't in Contoso Ltd's directory | Try again with an account that's a member of, or a guest in, your organisation. |
| **Not connected**: Microsoft asked for permissions | The add-in it names isn't set up in your tenant, so the Admin Center can't sign in with its app. Nothing was granted. |
| **Sign-in cancelled** | Nothing was read. Try again when you're ready. |
| **Couldn't connect** | Microsoft's error follows the title. Try again. |
| **Couldn't record the connection in the audit log** | Try again. |

Questions? Contact [support@getmailconnect.com](mailto:support@getmailconnect.com).
