M365 User Management¶
This guide covers viewing user information via the chat interface and managing users through workflows.
Viewing User Information¶
The chat interface allows you to query user data from Microsoft 365.
List Users¶
See users in the current tenant:
Returns up to 50 users with: - Display name - Email address (UPN) - Job title - Department - Account status
Filter User List¶
You can filter the user list:
View User Licenses¶
See licenses assigned to a specific user:
Managing Users via Workflows¶
All user management actions require running workflows. The chat cannot directly create, modify, or disable users.
Common User Management Workflows¶
Depending on your organisation's configuration, you may have workflows for:
| Task | Workflow to Run |
|---|---|
| Create new user | New user onboarding workflow |
| Disable user | User offboarding workflow |
| Reset password | Password reset workflow |
| Assign license | License assignment workflow |
| Add to group | Group membership workflow |
Running a User Management Workflow¶
To perform a user management task:
-
Ask to run the relevant workflow:
-
The bot will prompt you for required parameters (user email, new password, etc.)
-
Review the parameters and confirm
-
The workflow executes and returns results
Example: Password Reset¶
You: Run the password reset workflow
AI: I found the "Reset User Password" workflow.
Required parameters:
- User email: [enter email]
- New password: [enter password]
You: [Provides parameters]
AI: [Executes workflow and returns results]
Finding Available Workflows¶
To see what user management workflows are available:
User Lifecycle Overview¶
Typical user lifecycle tasks and how to perform them:
| Stage | Task | Method |
|---|---|---|
| View | List users | Chat query |
| View | Check user licenses | Chat query |
| Create | New user account | Run workflow |
| Update | Change user details | Run workflow |
| Update | Assign license | Run workflow |
| Update | Reset password | Run workflow |
| Disable | Block sign-in | Run workflow |
| Delete | Remove user | Run workflow |
Tips¶
Use Email Addresses¶
When specifying users in workflows, use full email addresses:
Not display names:
Work from Tickets¶
When possible, work from within a ConnectWise ticket. This ensures the correct tenant is automatically selected.
Verify Before Confirming¶
Always review workflow parameters before confirming execution, especially for:
- The correct user email
- The correct tenant
- Passwords and sensitive values
Next Steps¶
- M365 Overview - Overview of M365 capabilities
- Running Workflows - How to execute workflows
- Chat Queries - Available chat queries