microsoft / microsoft/CSS-Exchange
The operation failed because UPN value provided for addition/modification is not unique forest-wide.
Open
@dpaulson45 is already working on this.
Since Sep 8, 2021.
Enhancement
Need Investigation
Setup
Setup Assist
Setup Log Reviewer
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 395
- Avg merge
- 14h 7m
- Merged PRs (30d)
- 5
Description
Is your request related to a problem? Please describe.
Seen a few cases on this, should add this to collect as well
Describe The Request
It appears we will attempt to create critical system mailboxes. We try to find them based off the Last Name. If admins delete the Last Names of the system mailboxes, it causes this issue.
Additional context
$arbMbxname = "SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}";
$arbMbxLastName = "MsExchDiscovery e0dc1c29-89c3-4034-b678-e6c29d823ed9";
$arbUser = @(Get-User -Filter {LastName -eq $arbMbxLastName} -IgnoreDefaultScope -ResultSize 1);
if ($arbUser.Length -eq 0)
{
$arbUser = @(Get-User -Arbitration -Filter {LastName -eq $arbMbxLastName} -IgnoreDefaultScope -ResultSize 1);
}
if ($arbUser.Length -eq 0)
{
Install-UserAccount -Name $arbMbxname -LastName $arbMbxLastName;
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.