Properly update AZ modules

Product: PowerShell Universal
Version: 5.6.8

How would I properly update AZ modules ?

From the cmd line I get:

WARNING: Version ‘11.5.0’ of module ‘Az’ is already installed at ‘C:\Program Files\WindowsPowerShell\Modules\Az\11.5.0’. To install version ‘14.5.0’, run Install-Module and add the -Force parameter, this command will install version ‘14.5.0’ side-by-side with version ‘11.5.0’.

In PSU I see:
Does “integrated” mean that those came with PSU?

Hi,

did you install the module manually or via PSU itself?
We also installed it manually but later removed it again and installed it via PSU to make “updates” (install newer version under “Galleries” and delete the old ones under “Repository Modules”) easier.

Thank you.

The PSU system runs in AWS.
I did not install any AZ modules yet.
I don’t know why they are installed.
I am not using any AZ stuff in scripts yet.
Maybe they came automatically because we have SAML2 enabled as authentication in PSU?

I have the need to start working with blob containers, that’s why I checked the install.

Would you know the best way to remove AZ and re-install properly without breaking anything?

If it’s a Server 2025 it is possible they are built in but I dont know for sure.
Normally when there are new version I install them in our test environment and try them out with some test scripts (like connecting with connect-azaccount, some exchange stuff, some storage stuff and so on) because they get installed parallel so if they dont work you can just uninstall them.
Probably some pester tests would be nice for this.

Thanks.
I actually did install on our DEV server, and all I wanted to do works fine.

What I did:
uninstall-module AZ -Verbose -AllVersions
install-module AZ -Verbose -Repository PSGallery -Scope AllUsers

But I still would like the recommended way for updating or removing/installing on PROD.

The system is Windows Server 2022 Datacenter.