EdbMails EDB Recovery and Migration software
  • Products
    Exchange EDB / Email Recovery Tools
    • EDB Recovery and MigrationRecover EDB to PST, EDB to Office 365 and Exchange NO Duplicate Migration
    • OST Recovery and MigrationRecover OST to PST, OST to Office 365 and Exchange Migration
    • PST Recovery and MigrationRecover Outlook PST, PST to Office 365 and Exchange Migration
    • MBOX Export and MigrationExport MBOX to PST, MBOX to Office 365 and Exchange Migration
    • NSF Export and MigrationExport NSF to PST, NSF to Office 365 and Exchange Migration
    • EML to PST ExportEML files export to Outlook PST format
    • PST to MSG ExportOutlook PST files export to MSG format
    • MSG to PST ExportExport MSG files Outlook PST files
    Exchange and Office 365 Migration
    • Exchange Server MigrationMigrate Exchange 2007, 2010, 2013, 2016, 2019 to Office 365 tenants. Also, migrate between Exchange servers and PST
    • Office 365 MigrationMigrate Source Office 365 tenants to Destination Office 365 tenants. Also, migrate to Exchange Server and PST
    • IMAP Email Backup & MigrationMigrate all IMAP email servers (Gmail, Zimbra, Zoho, Yahoo etc.), Office 365, Exchange and Backup to Outlook PST
    • SharePoint Online MigrationMigrate documents, files and folders from SharePoint sites
    • OneDrive for Business MigrationMigrate documents, files and folders from OneDrive
    • Microsoft Teams MigrationMigrate Teams, documents, files and folders etc.
    Exchange and Office 365 Backup
    • Office 365 BackupIncremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    • Exchange Server BackupIncremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    • SharePoint, OneDrive & Teams BackupBackup Online site collections, Team sites, Office 365 groups, all documents etc.
    • Duplicate Remover - Office 365, Exchange, IMAP & Outlook Remove duplicate emails, calendars, contacts, journal etc. from Office 365, Exchange, IMAP, Outlook, Gmail, Zimbra, Zoho Mail etc.
    • More Products
  • Features
  • FAQ
  • Pricing
  • Download
  • Support
  • Sign in
User’s Manual
Office 365 Migration

User Manual

User Manual

  • Office 365 Migration Overview
  • System Requirements
  • Software Setup
    • EdbMails Installation Process
    • Upgrading the Software
  • Understanding the Application
    • Software's Main Components
    • Understanding the Migration
  • FAQ
    • General
    • Migration Free Trial / Demo
    • Migration License
    • Before Migration
    • Migration - Steps
    • After Migration
  • Videos
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Archive Mailbox to Office 365
    • Public Folder to Exchange
    • Archive Mailbox to Exchange
    • Restore Bulk PST files to Office 365
    • Automatically Create Office 365 Mailboxes
    • Export Office 365 user to CSV file
  • Screenshots
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to PST
  • How it works?
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Public Folder to Exchange
    • Public Folder to Shared Mailbox
    • Archive Mailbox to Office 365
    • Archive Mailbox to Exchange
    • Office 365 to Hosted Exchange
    • Multiple PST to Office 365
    • Office 365 to Gmail Migration
    • Office 365 Shared mailbox to Exchange
    • Office 365 Public folders to PST
    • Office 365 archive mailbox to PST
    • Office 365 Shared mailbox to PST
    • Office 365 shared mailbox to Public folder
    • Office 365 Archive mailbox to Shared mailbox
    • Office 365 Shared mailbox to Archive mailbox
  • Connect to source Office 365
  • Connect to target Office 365
  • Modern Authentication Using OAuth 2.0
    • Microsoft 365 modern authentication
    • Automatic Registration
    • Manual Registration
  • Connect to Exchange server
  • Knowledge Base
    • Migrate between Office 365 tenants
    • Migrate Office 365 mailbox
    • Public folder migration
    • Office 365 to Exchange Migration
    • Office 365 Migration with same Domain
    • Office 365 Group Migration
    • Selective Mailbox Migration
    • Migration to Exchange 2007, 2010, 2013, 2016 and 2019
    • User-Defined Mailbox/Folder Mapping
    • Export Office 365 users to CSV
    • GoDaddy to Microsoft 365 migration
    • Rackspace to Office 365 migration
    • Office 365 migration methods
    • Office 365 migration checklist
    • Migrate Shared mailbox to Office 365
    • Office 365 migration best practices
    • Office 365 migration challenges
    • Convert shared mailbox to regular mailbox
    • Office 365 to Exchange 2019 migration
    • Office 365 multiple mailbox migration
    • Office 365 Server to Server Migration
    • Cross-Tenant Office 365 migration
    • Office 365 to iCloud migration
    • Office 365 to Yahoo Mail migration
    • Office 365 to cPanel Migration
    • Office 365 to SmarterMail Migration
    • Office 365 to IceWarp migration
  • Set Office 365 Impersonation rights
    • Using PowerShell commands
    • Using Office 365 GUI
  • Migration Types
    • Cutover Migration
    • Staged Migration
  • Set Exchange Server Impersonation rights
  • Map the Mailboxes
  • Migration Walkthrough
    • Office 365 tenant to tenant migration
    • Office 365 to Exchange migration
    • Office 365 to PST Export
  • Multifactor Authentication
    • Enable MFA in Office 365
    • Create App password for MFA
    • Disable Security Defaults
  1. Home
  2. Product
  3. How to Batch Create Outlook Profiles with Intune
Download Buy Now

How to batch create Outlook profiles with Intune

Managing Outlook profile creation for a growing workforce can become a repetitive task for IT administrators. When new devices are rolled out at scale, users expect Outlook to be ready on the first sign-in without additional configuration steps. Manual setup slows deployment timelines and increases the risk of configuration errors.

Microsoft Intune offers a reliable way to automate this process. By deploying predefined configuration policies or scripts through Intune, you can batch create Outlook profiles across your entire device fleet. Users receive seamless mailbox access on first launch, and administrators gain centralized control over account provisioning.

This guide explains how to implement bulk Outlook profile creation using Intune in a structured and secure manner. The goal is to help IT teams reduce onboarding effort, improve consistency, and maintain a smooth user experience with Microsoft 365.

Prepare a script file with the required PowerShell commands

  1. Open a text editor like Notepad and paste the code below. Replace NewProfile with your desired Outlook profile name.
    Command: Copy & Paste it on PowerShell

    Set-Location -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles\'

    Command: Copy & Paste it on PowerShell

    Get-Item -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles\' | New-Item -Name 'NewProfile' -Force

    Command: Copy & Paste it on PowerShell

    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Outlook" -Name "DefaultProfile" -Value 'NewProfile' -Force

  2. Choose Save As (Ctrl+Shift+S) and save the file with a .ps1 extension, such as Outlook.ps1.

    Saving the file with the PowerShell script

Set up Intune to execute the script for the given users.

  1. Sign in to the Microsoft Intune admin center.
  2. Navigate to Devices → Scripts and remediations → Platform scripts, click Add, and select Windows 10 and later

    Adding a new script to be executed with Microsoft Intune

  3. Assign a name to your script, add an optional description if needed, and then click Next.

    Naming and describing the script

  4. In the Script settings step, upload the file you created earlier in this guide and configure the options as shown:
    • Run this script using the logged on credentials → Yes
    • Enforce script signature check → No
    • Run script in 64-bit PowerShell Host → Yes
  5. Once configured, click Next to proceed.

    Configuration in the Script settings step

  6. In the Assignments step, select the users or user groups that should receive the script. If needed, you can exclude specific groups by configuring the Excluded groups section.

    The Assignments step allows you to decide for which users the script will be executed

    Important: Ensure that assignments are set for users and not devices. The script updates an entry in the Current User registry key. On shared machines, the script needs to run separately for each user who signs in.

  7. In the final Review + create step, verify all the script policy settings. Once confirmed, click Create to add the script to your scripts list.

    Review your configuration and click Create

     After this, the script will run automatically for each assigned user when they sign in. Once completed, a new Outlook profile will be created and set as the default for that user.

Track the implementation

  1. Monitor the script’s execution status by selecting its name from the scripts list (Devices → Scripts and remediations → Platform scripts).
  2. The script overview page shows how many users and devices have successfully run the script. For detailed information, such as specific device or user names, click Device status or User status as needed.

    Track script implementation

  3. You can also verify the script’s successful execution directly on a user’s machine. If the script fails to run, navigate to:

    %ProgramData%\Microsoft\IntuneManagementExtension\Logs

    At this location, you can access the IntuneManagementExtension.log file, which provides detailed information about any errors.

Troubleshoot the implementation

A frequently encountered error that may appear in the IntuneManagementExtension.log file is:

Cannot find path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles\' because it does not exist

Typically, this issue occurs for one of two reasons:

  1. The required registry keys do not exist because the user has never opened the Outlook desktop app on their device. To resolve this, launch Outlook on that machine. Intune will then attempt to run the script at the next scheduled interval.
  2. The user is running an Outlook version older than 2016. To fix this, create a separate script that reflects the correct registry path for the older version (for example, HKCU:\Software\Microsoft\Office\15.0\Outlook\Profiles for Outlook 2013).

Additional resources:

  • Microsoft 365 sign in Window not displayed
  • Create app password
  • Create a new profile in Outlook for all users in a domain
  • Create a new Outlook profile for a single user
lady image

 In this manual

IntroductionPreparing script fileSet up IntuneTracking implementationTroubleshoot implementation

Office 365 Migration

100 Mailboxes $299 Only

Buy Now

Need help?

24/7 Customer support

Contact us on Live chat

Personalized Demo

Book a personalized demo

Still need help?

Email us / Call us

@edbmails.com All rights are reserved Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now