Make Contacts Available to Everyone in Your Tenant on Teams.

Microsoft Teams is a popular communication and collaboration platform used by millions of users worldwide. One common question that arises is how to make newly added contacts available to everyone in the tenant when they log in to Microsoft Teams. In this blog post, we will explore the steps to achieve this.

Firstly, it’s essential to understand that Microsoft Teams stores contact information in a cloud-based address book. When you add a contact in the desktop client, it is not automatically synced with the cloud. Therefore, if you want to make the contact available to everyone in your tenant, you need to follow a specific process.

To make a contact available to everyone in your tenant, you can use the Microsoft Graph API. The Graph API allows developers to access and manipulate data in Microsoft products like Teams, Office 365, and Azure Active Directory (AAD). In this case, we will use the Graph API to add the contact to the cloud-based address book.

Here are the steps to make a contact available to everyone in your tenant:

Step 1: Get the Contact ID

First, you need to get the ID of the contact you want to make available to everyone. To do this, follow these steps:

a. Open Microsoft Teams and navigate to the contact you want to make available to everyone.

b. Right-click on the contact and select “More” and then “Contact info.”

c. In the contact information window, click on the “Copy ID” button next to the contact’s ID.

d. Paste the contact ID in a safe location, as you will need it later.

Step 2: Add the Contact to the Cloud-Based Address Book

Now that you have the contact ID, you can use the Graph API to add the contact to the cloud-based address book. To do this, follow these steps:

a. Open a web browser and navigate to the Microsoft Graph API explorer.

b. Log in with your Microsoft account credentials.

c. In the Graph API explorer, enter the following query in the search bar:

“https://graph.microsoft.com/v1.0/users//mailNickname”

Replace “” with the ID of the contact you obtained in step 1.

d. Click on the “Run” button to execute the query.

e. If the contact is not already in the cloud-based address book, you should see a response like this:

“{ ‘error’: { ‘code’: ‘NotFound’, ‘message’: ‘The requested resource does not exist.’ }}”

This means that the contact is not yet in the cloud-based address book. To add the contact, you can use the following query:

“https://graph.microsoft.com/v1.0/users//mailNickname?$push=mailboxSettings/contacts”

Replace “” with the ID of the contact you obtained in step 1.

f. Click on the “Run” button to execute the query. This will add the contact to the cloud-based address book.

g. Wait for a few seconds to allow the changes to propagate. You can check if the contact is now available to everyone by logging out and logging back in to Microsoft Teams.

That’s it! By following these steps, you have successfully made the contact available to everyone in your tenant when they log in to Microsoft Teams. Note that this process only works for contacts added in the desktop client. If you add a contact through the web app or mobile app, it will not be automatically synced with the cloud-based address book.

In conclusion, making newly added contacts available to everyone in your tenant when they log in to Microsoft Teams requires using the Microsoft Graph API. By following the steps outlined in this blog post, you can ensure that all users in your tenant can see and communicate with the contact. Remember to only use this process for legitimate purposes and to respect the privacy of your users.