Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

In order to connect Project Professional to Project Web App, you need to set up your Project Web App in Project Professional. While you can do this in Project Professional, you can also do so in a fast, automated fashion by using Windows PowerShell.

This Windows PowerShell script will create the required registry keys to connect Project Professional 2013, Project Professional 2016, or Project Online Desktop Client to Project Web App.

Save the following script to a file called CreateAccounts.ps1.

#
# This script will create the account for Project Pro for O365 to connect to Project Online. 
# 
# Execute this script with two parameters: the account name and PWA URL
#
# ./CreateAccount.ps1 PWA https://contoso.sharepoint.com/sites/pwa
#
############################################################################

Param(
  [string]$accountName,
  [string]$pwaURL
)

function CreateAccount ($keyPath, $accountName, $pwaURL)  {

    $guid = [System.Guid]::NewGuid()

    New-Item -Path "$keyPath$accountName"
    New-ItemProperty -Path "$keyPath$accountName" -Name Name -PropertyType String -Value $accountName
    New-ItemProperty -Path "$keyPath$accountName" -Name GUID -PropertyType String -Value "{$guid}"
    New-ItemProperty -Path "$keyPath$accountName" -Name Path -PropertyType String -Value $pwaURL
}


function CreateProjectOnlineAccount ($accountName, $pwaURL)
{
    $15keyPath = "HKCU:\Software\Microsoft\Office\15.0\MS Project\Profiles\"
    $16keyPath = "HKCU:\Software\Microsoft\Office\16.0\MS Project\Profiles\"

    If (Test-Path($15keyPath)) {
  
        CreateAccount $15keyPath $accountName $pwaURL
    }


    If (Test-Path($16keyPath)) {
        CreateAccount $16keyPath $accountName $pwaURL
    }
}

CreateProjectOnlineAccount $accountName $pwaURL 

When you run the script, pass in two parameters:

  • The name that you want to give the account in Project Professional

  • The URL of your Project Web App site

To run the script, open a Windows PowerShell command window as administrator, and then run the script, passing in the two parameters.

For example:

./CreateAccount.ps1 PWA https://contoso.sharepoint.com/sites/pwa

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×