Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXOMailContact: Max 1000 contacts returned #2672

Closed
bjoernf73 opened this issue Dec 15, 2022 · 0 comments · Fixed by #2674, #2675 or #2705
Closed

EXOMailContact: Max 1000 contacts returned #2672

bjoernf73 opened this issue Dec 15, 2022 · 0 comments · Fixed by #2674, #2675 or #2705
Assignees
Labels
Bug Something isn't working Exchange Online

Comments

@bjoernf73
Copy link
Contributor

Details of the scenario you tried and the problem that is occurring

Export-M365DSCConfiguration -Components @("EXOMailContact") ...

Verbose logs showing the problem

Suggested solution to the issue

Change all uses of unfiltered Get-MailContact from:

[array]$contactList = Get-MailContact -ErrorAction Stop

to

[array]$contactList = Get-MailContact -ResultSize 'Unlimited' -ErrorAction Stop

The DSC configuration that is used to reproduce the issue (as detailed as possible)

`Export-M365DSCConfiguration -Components @("EXOMailContact") ...`

The operating system the target node is running

OsName : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage : en-US
OsMuiLanguages : {en-US, nb-NO}

Version of the DSC module that was used ('dev' if using current dev branch)

1.22.1214.1

@NikCharlebois NikCharlebois self-assigned this Dec 15, 2022
@NikCharlebois NikCharlebois added Bug Something isn't working Exchange Online labels Dec 15, 2022
NikCharlebois added a commit to NikCharlebois/Microsoft365DSC that referenced this issue Dec 15, 2022
NikCharlebois added a commit that referenced this issue Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Exchange Online
Projects
None yet
2 participants