We design and implement intelligent automations for your business using Microsoft Power Platform, Power Automate, Copilot, and other advanced AI tools to help you reach your strategic goals.

Our solutions reduce manual workload by thousands of hours, cut operational costs, and significantly improve efficiency. Below is one of many case studies showcasing the impact we’ve delivered for our customers.

Convert a Microsoft 365 User Mailbox to a Shared Mailbox Automatically

Organisations frequently need to convert user mailboxes into shared mailboxes when employees leave the business or change roles. By combining Microsoft Power Automate Cloud, Power Automate Desktop (PAD), and PowerShell, businesses can standardise and automate this process, reducing manual effort and improving operational consistency.

Business Benefits

  • Reduce administrative workload.
  • Improve consistency across mailbox management processes.
  • Minimise the risk of human error.
  • Create a repeatable and auditable workflow.
  • Enable IT teams to respond more quickly to employee lifecycle changes.

High-Level Workflow

The cloud flow acts as the orchestration layer, while Power Automate Desktop executes the PowerShell script on a managed machine. The PowerShell script performs the mailbox conversion within Microsoft 365.

flowchart LR
    A[Business Request Submitted] --> B[Power Automate Cloud Flow Triggered]
    B --> C[Send Mailbox Details to Power Automate Desktop]
    C --> D[Power Automate Desktop Runs PowerShell Script]
    D --> E[PowerShell Converts User Mailbox to Shared Mailbox]
    E --> F[Return Status to Cloud Flow]
    F --> G[Notify Business and IT Stakeholders]

How the Components Work Together

Power Automate Cloud receives the request and manages the overall workflow. This could be triggered from a form submission, approval process, service desk request, or employee offboarding process.

Power Automate Desktop is invoked from the cloud flow and runs on a designated machine. It serves as the execution layer for local scripts and administrative tasks.

PowerShell performs the mailbox conversion activity by connecting to Microsoft 365 administrative services and executing the required mailbox management commands.

Typical Process

  1. A mailbox conversion request is submitted.
  2. The Power Automate cloud flow validates the request.
  3. The cloud flow launches a Power Automate Desktop flow.
  4. Power Automate Desktop passes mailbox information into a PowerShell script.
  5. The PowerShell script converts the user mailbox into a shared mailbox.
  6. The execution result is returned to the cloud flow.
  7. Notifications and audit records are generated.

Conclusion

Using Power Automate Cloud, Power Automate Desktop, and PowerShell together creates a practical automation solution for Microsoft 365 administration. This approach allows businesses to streamline mailbox management activities while maintaining governance, consistency, and visibility throughout the process.