Forum Discussion

ThomasNielsen's avatar
ThomasNielsen
Brass Contributor
Jul 17, 2024

Can not use Set-OrganizationConfig powershell command in Exchange Online

Hi there.

 

I am faced with a strange problem: When I try to use: "Set-OrganizationConfig" in Exchange Online, I can not use any parameteres (autocomplete for the parameteres does not work). 

If I paste a complete command I get this Error: 

  • "Unable to find type [uint]."

Confirmed on two tenants, multiple computers and PowerShell module is updated to latest version.

Can any one confirm this or know if there is a solution.

  • Found a solution to my problem: After to much time and getting very tired of punching my self my self in the face: I used the Cloud Shell in the Exchange Admin portal. That did work. But something is freaking broken i Exchange Online PowerShell.
  • ThomasNielsen's avatar
    ThomasNielsen
    Brass Contributor
    Found a solution to my problem: After to much time and getting very tired of punching my self my self in the face: I used the Cloud Shell in the Exchange Admin portal. That did work. But something is freaking broken i Exchange Online PowerShell.
    • halfryer's avatar
      halfryer
      Copper Contributor

      ThomasNielsen 

       

      Can I ask how you connected cloudshell to exchange? Tried Microsoft own command and it's not working either.

      • SimBur999's avatar
        SimBur999
        Copper Contributor

        halfryer , you may need to install the module, I have struck that before. I did mean to post again that I tried PowerShell v7+ and was able to run set-organization cmdlet successfully, so this may only affect PS v5.1. Cheers!

    • SimBur999's avatar
      SimBur999
      Copper Contributor
      That's interesting - I've just had the same issue; no autocomplete and the cannot find type (uint). Thanks for posting I will try CloudShell now!

Resources