o365 connection, error accessing \bin\powershell.pid

Created: 2021-11-04 11:00:05
Modified: 2021-11-04 11:00:53
Tags: Office 365 Troubleshooting

As of v4.0.7, a known problem may cause a Discovery or Sync to o365 to fail. The error reads :

Powershell Error | The process cannot access the file ‘E:\Services\UnitySync-v4.0.7\bin\powershell.pid’ because it is being used by another process.

This error occurs if an o365 connection is running, and any other o365 connection is started. This has been identified as a bug and will be fixed in the next release.

As a workaround, only execute a single o365 connection at a time.

Share this article:

  1. Directify - Self Service

  2. Mimic - Replication

  3. UnitySync - Sync
  1. emPass - Sync
  1. Profiler
  2. SimpleSync