microsoft / Microsoft365DSC

Manages, configures, extracts and monitors Microsoft 365 tenant configurations
https://aka.ms/M365DSC
MIT License
1.57k stars 493 forks source link

EXOMailTips/EXOOrganizationConfig: Runtime Exception When Using Set-OrganizationConfig #4905

Closed ricmestre closed 1 month ago

ricmestre commented 3 months ago

Description of the issue

Something changed in the EXO backend and everytime Set-OrganizationConfig is used now it gives the following error message below which means EXOMailTips and EXOOrganizationConfig cannot be used for making changes to those resources.

Unable to find type [uint].
At C:\Users\REDACTED\AppData\Local\Temp\tmpEXO_twwg4psu.sv4\tmpEXO_twwg4psu.sv4.psm1:53499 char:5
+     [uint]
+     ~~~~~~
+ CategoryInfo          : InvalidOperation: (uint:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound

Microsoft 365 DSC Version

1.24.717.1

Which workloads are affected

Exchange Online

The DSC configuration

N/A

Verbose logs showing the problem

Unable to find type [uint].
At C:\Users\REDACTED\AppData\Local\Temp\tmpEXO_twwg4psu.sv4\tmpEXO_twwg4psu.sv4.psm1:53499 char:5
+     [uint]
+     ~~~~~~
+ CategoryInfo          : InvalidOperation: (uint:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound

Environment Information + PowerShell Version

Win11 / PS5.1
caspChristian commented 3 months ago

Confirming that this happens on default PS version https://learn.microsoft.com/en-us/answers/questions/1822123/runtime-exception-when-using-set-organizationconfi

Newer versions of PS seems to be fine.

ricmestre commented 1 month ago

Seems to be working now