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

EXOGroupSettings: Only exports 1000 objects #4800

Closed
adhodgson1 opened this issue Jun 26, 2024 · 1 comment · Fixed by #4808 or #4842
Closed

EXOGroupSettings: Only exports 1000 objects #4800

adhodgson1 opened this issue Jun 26, 2024 · 1 comment · Fixed by #4808 or #4842

Comments

@adhodgson1
Copy link
Contributor

When we run the export for the EXOGroupSettings it only exports 1000 objects. Using module version 1.24.619.1 with PowerShell 7. The Exchange administrator believes there should be more of these (possibly 1 per Exchange distribution group) but I don't have any context to know which is correct.

@ricmestre
Copy link
Contributor

The resource calls Get-UnifiedGroup which by default only returns the first 1000 objects, in order to return all of them it should be just a matter of adding -ResultSize Unlimited to all calls of this cmdlet, see https://learn.microsoft.com/en-us/powershell/module/exchange/get-unifiedgroup?view=exchange-ps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
@NikCharlebois @adhodgson1 @ricmestre and others