Home

- Details
- Written by: HOFF Steven
- Category: Scripting & APIs
- Read Time: 8 mins
- Hits: 229
Overview
This procedure outlines the steps to import guest users into Microsoft Entra ID (formerly Azure AD) using a PowerShell script that leverages the Microsoft Graph API.
Unlike the standard guest invitation process, this script enhances user profiles by automatically setting additional attributes, such as:
✅ Mobile Phone
✅ Company Name
✅ Usage Location (defaults to Belgium)
Key Benefits of this Automated Process
✅ Saves time – No manual user entry required.
✅ Ensures consistency – Standardized name formatting (DUPONT Jean-Claude).
✅ Enhances guest user management – Additional attributes ensure proper user records.
✅ Avoids duplicate users – The script checks if a user exists before adding them.