Soren Granfeldt PSMA Batch Size defaults to 100

tmunro55 351 Reputation points
2021-06-01T15:08:03.58+00:00

The default export batch size for the Soren Granfeldt PSMA is set to 100 objects on the pipeline. With a large export (say 38,000) this has the overhead of calling PowerShell a great many times (in this case 380 times). Is there any reason the batch size cannot be set higher? Say 500 or 1000? Would there be a performance hit, potential data loss if something went horribly wrong?

Just curious...

Thanks.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
630 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leo Erlandsson 1,656 Reputation points
    2021-06-02T09:14:48.287+00:00

    Hi,

    Well, you can set it to max 500 according to the code.

    Please see:
    https://github.com/sorengranfeldt/psma/blob/master/Granfeldt.PowerShell.ManagementAgent/MA.Export.cs

    No performance hit I guess. On the contrary, it's faster (but the sync engine won't receive updates as often).

    Br
    Leo


0 additional answers

Sort by: Most helpful