Resolve SCCM Metadata Export Errors
Note: This is a workaround. Our engineering team is actively investigating options to remove the restrictions described in this article.
In environments with a large number of SCCM applications and packages, the exported metadata may exceed the default PowerShell file transfer limit of 200 MB. In this scenario, the message shown below is observed in the Nerdio Manager SCCM server discovery log:
The current deserialized object size of the data received from the remote server exceeds the allowed maximum object
Mitigation
Note: Ensure that you are running Nerdio Manager v6.4.2 (GA) as a minimum before following this process.
As of Nerdio Manager v6.4.2 (GA), a new app service setting has been added to allow filter the packages returned from the SCCM server by name. This setting uses a regular expression (REGEX) to perform filtration.
When this setting is added, ‘Applications’ are filtered by the 'LocalizedDisplayName' property, and legacy Packages are filtered by 'Name' property. Ensure you use these names in the value for the correct results to be returned.
Additionally, partial content is supported. Therefore adding the value of ‘n’ to the entry returns all the packages that contain ‘n’. Adding a value of ‘^a’ returns all the packages that start with ‘a’. These queries may be grouped together using the pipe symbol ‘|’, which serves as an OR operator.
For more information on regular expressions, see Regular Expression Language - Quick Reference - Grouping Constructs.
Example
Note|^B|^A
If the value above is used for the app service setting, the regular expression returns:
All applications and packages that contain the text Note
-OR- all applications and packages that start with B
-OR- all applications and packages that start with A
Within the App service environmental variables console, the setting above looks as follows:
App Service Setting
The app service setting shown below must be used. If changes are made to the value, the app service must be restarted. See Advanced App Service Configurations for details about creating app service settings.
Application Setting |
Values |
Description |
---|---|---|
ExtendedConfiguration:SccmFilterRegex |
String value Default: Null |
When configured, Nerdio Manager filters the metadata results returned by the SCCM server in line with the regular expression defined. |
Comments (0 comments)