https://github.com/linuskay/update-adusertelephonefrommicrosoftteams
https://github.com/linuskay/update-adusertelephonefrommicrosoftteams
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/linuskay/update-adusertelephonefrommicrosoftteams
- Owner: LinusKay
- Created: 2023-07-14T03:42:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T02:52:16.000Z (over 2 years ago)
- Last Synced: 2025-04-03T20:30:57.173Z (about 1 year ago)
- Language: PowerShell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Update-ADUserTelephoneFromMicrosoftTeams
Microsoft does not have a way to automatically synchronise Microsoft Teams numbers with Active Directory.
This script grabs a list of all users with Teams mobile numbers, finds the matching AD users, and updates the telephoneNumber attribute with their Teams number.
There is also a single user version provided.
## Pre-requisites
- Requires the following modules:
- ActiveDirectory
- MicrosoftTeams
- An account with Active Directory admin access
- A Microsoft 365 user with access to manage users (Input on run)
- Distinguished name of an organisational unit containing the users to update, entered into the **searchBase** variable.