Share a candidate on Microsoft Teams

Connect Microsoft Teams to Nicoka to share candidates with your team: in a Teams channel, or directly with a colleague in a private message. You can also mention a channel in a note, so that its content is posted there.

It works like Slack and Google Chat (see Share a candidate on Slack and Share a candidate on Google Chat), with one difference: Microsoft does not let an application post on its own behalf. Nicoka therefore posts the messages under the identity of the connected Microsoft account; the name of the person who shares stays written in the message.

Before you start

  • Your company uses Microsoft 365, with Teams.
  • Your Nicoka workspace already uses your company's Microsoft application, the one used to connect Office 365 mailboxes and calendars. Microsoft Teams connects on that same application: there is no application to create and no identifier to send. If the Microsoft Teams card shows the Contact Nicoka button instead of Connect Microsoft Teams, that application is not set up on your workspace: click it, an activation request already written goes to support.
  • A Microsoft 365 administrator of your company has made the settings described below. As long as no channel has been chosen (step 3), the Microsoft Teams card reminds you that these settings are needed.
Microsoft Teams page of the integrations: Connect Microsoft Teams button and reminder of the Microsoft 365 administrator settings

1. Prepare the Microsoft application (Microsoft 365 administrator)

These settings are made once, in the Azure portal, on the registration of the Microsoft application Nicoka uses for mailboxes and calendars (not the one of the Teams meeting transcripts). They do not disconnect any mailbox or calendar already connected.

  1. Permissions: in App registrations, open the Nicoka application, then API permissions > Add a permission > Microsoft Graph > Delegated permissions (not "Application permissions"). Add User.Read, offline_access, User.ReadBasic.All, Chat.Create, ChatMessage.Send, Team.ReadBasic.All, Channel.ReadBasic.All and ChannelMessage.Send.
  2. Admin consent: on the same page, click Grant admin consent for your organisation. The three channel permissions (Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Send) require it; private messages to a colleague work without it.
  3. Redirect address: in Authentication > Redirect URIs, add https://master.nicoka.com/api/integrations/oauth/relay.
  4. Directory ID: if the application only accepts accounts of your organisation (the most common case), send Nicoka support the Directory (tenant) ID, shown in Overview. Nothing to do if the application is multi-tenant.

Nicoka never asks to read messages: it only posts them. The Azure portal screens belong to Microsoft and may change: when in doubt, check Microsoft's help or write to support@nicoka.com, who will send the steps to your administrator.

2. Connect Microsoft Teams

The connection is personal: each user can connect their own Microsoft account. An administrator can also connect an account and open it to colleagues (step 4).

From your profile: click your initials at the top right, then Integrations. On the Microsoft Teams row, click Connect Microsoft Teams.

From the customizing (administrator):

  1. In the side menu, open Customizing > Integrations.
  2. Click the Collaboration category, then the Microsoft Teams card.
Integrations screen filtered on Collaboration: Google Chat, Microsoft Teams and Slack (shown in French)
  1. Click Connect Microsoft Teams.

Microsoft shows its consent screen: choose the Microsoft 365 account to connect and accept. You come back to Nicoka with the message "Microsoft Teams is connected. Pick the channels to expose." The account appears in the connected accounts with the Connected status, and its configuration opens.

3. Choose the channels

  1. On the account card, click Configure.
  2. In Microsoft Teams channels, choose the channels where candidates can be shared. Each channel shows as Team > Channel.
  3. Keep the Also send a direct message to colleagues mentioned in a note option ticked if you want colleagues mentioned in a note to get it as a private message.
  4. Click Save.

The list only offers the channels of the teams the connected Microsoft account belongs to. To offer another channel, add that account to the team in Teams, then open the configuration again. A chosen channel is also used for the site agent's alerts (new prospect, visitor asking for someone), when it is set in the agent's record.

4. Open the connection to your colleagues

At first, a connection can only be used by the person who made it. For other users to share through this account, open the menu under the account's address (the initials), click Manage access, then choose in Accessible by:

  • Me: only you (default);
  • Only some people: the people or groups you choose;
  • Everybody: every Nicoka user.
Manage access window of a team chat account, with the Accessible by field (shown in French)

Messages shared by your colleagues are posted under the identity of the connected account, and private messages arrive in the conversation between that account and the recipient. For a shared connection, preferably connect a dedicated Microsoft account rather than a personal one.

Share a candidate

  1. On a candidate record, open the … menu, then click Share on team chat.
… menu of the candidate record with the Share on team chat action (shown in French)
  1. In Send to, choose a channel (preceded by #) or a colleague (preceded by @).
  2. Add a Comment if you wish, then click Send.

The message contains your name, the candidate's name as a link to their record, the job concerned and your comment. Nicoka remembers the last destination used for each job and offers it next time. For a private message, Nicoka finds the colleague by the email address of their employee record and opens the conversation with them if it does not exist yet.

Mention a channel or a colleague in a note

In a note (candidate, contact or employee), type @ followed by the first letters: the Microsoft Teams channels chosen in step 3 appear in the list. Save the note: its content is posted in the mentioned channels, with the link to the record. Mentioned colleagues get it as a private message if the step 3 option is ticked.

Troubleshooting

  • The Microsoft Teams card shows Contact Nicoka: your company's Microsoft application is not set up on your Nicoka workspace. Click Contact Nicoka to send the activation request to support. If you open a connection another way, Nicoka shows "The Microsoft Teams application is not configured on this instance. Contact Nicoka support."
  • "To activate Microsoft Teams, your company's Microsoft 365 administrator must first complete a few settings. Contact Nicoka: we will send them the steps to follow." on the card: this reminder stays as long as no connected account has chosen a channel, even when an account is connected (the connection goes through without admin consent). Have the step 1 settings made, then choose at least one channel (step 3): the reminder goes away.
  • Microsoft's screen shows "AADSTS50011" (redirect URI mismatch): the redirect address is missing on the application (step 1). Add it, then connect again.
  • Microsoft's screen shows "AADSTS50194": the application only accepts accounts of your organisation, and Nicoka does not know your directory ID yet. Send it to support (step 1).
  • Microsoft asks for an administrator's approval during the connection: your organisation does not let users consent. A Microsoft 365 administrator must grant consent (step 1), then connect again.
  • "The Microsoft Teams connection failed. Please try again." when coming back from Microsoft: Microsoft did not hand the authorisation to Nicoka (consent interrupted, exchange refused). Click Connect Microsoft Teams again and accept the consent screen to the end.
  • "Microsoft refused the request for lack of permissions. A Microsoft 365 administrator must grant Nicoka access to teams, channels and messages for the tenant, then reconnect Microsoft Teams.", in the configuration or when sharing to a channel: admin consent is missing (step 1), or the permissions were added on the meeting transcripts application instead of the mailbox one. The channel list stays empty, but private messages work. Have consent granted, then reconnect Microsoft Teams.
  • "The channel list could not be retrieved from Microsoft Teams. Reconnect Microsoft Teams if the problem persists.": Microsoft did not answer. Open the configuration again a little later; if the message stays, reconnect Microsoft Teams.
  • "The Microsoft Teams connection has expired. Reconnect Microsoft Teams from the integrations page." or "Microsoft Teams refused the message. Reconnect Microsoft Teams from the integrations page if the problem persists.": the authorisation given to Nicoka expired or was withdrawn. Reconnect Microsoft Teams with the Connect Microsoft Teams button, with the same Microsoft account: Nicoka takes the existing connection back and the chosen channels are kept.
  • A channel is missing from the list: the connected Microsoft account is not a member of its team. Add that account to the team in Teams, then open the configuration again.
  • "… has no team chat account with the email …" when sharing with a colleague: Nicoka looks the colleague up by the email address of their employee record, and Microsoft finds nobody in your organisation at that address. Their Microsoft 365 account must have the same address as their record in Nicoka. A guest or subcontractor outside your organisation cannot be reached by private message through Teams.
  • "No team chat is connected.": no Microsoft Teams, Google Chat or Slack connection is available to you. Connect your account, or ask the person who connected it to open access to you (step 4).
  • The Share on team chat action does not show: same cause, no team chat connection is available to you.
  • A colleague mentioned in a note gets no private message: the Also send a direct message to colleagues mentioned in a note option is unticked (step 3), or their Microsoft address differs from the one of their record.
  • The message is posted under another account's name: this is expected, Nicoka posts under the identity of the connected Microsoft account; the name of the person who shares is in the message.
Were this information helpful?

 Summary