Unable to install Azure PowerShell Module using PowerShellGet

%3CLINGO-SUB%20id%3D%22lingo-sub-1955023%22%20slang%3D%22en-US%22%3EUnable%20to%20install%20Azure%20PowerShell%20Module%20using%20PowerShellGet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955023%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20seem%20to%20have%20a%20corrupted%20version%20of%20Azure%20PowerShell%20Module%20that%20I%20am%20unable%20to%20repair.%20I%20tried%20following%26nbsp%3B%20PowerShellGet%20but%20get%20the%20following%20error%3A%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22InstallError_AZ_PS.JPG%22%20style%3D%22width%3A%20915px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F237648i1FA2DEC8027E83B1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22InstallError_AZ_PS.JPG%22%20alt%3D%22InstallError_AZ_PS.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHowever%20when%20I%20try%20to%20uninstall%20I%20get%20the%20following%20%2C%20indicating%20AZ%20module%20itself%20is%20not%20available%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UnInstallError_AZ_PS.JPG%22%20style%3D%22width%3A%20848px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F237649iA148B562FCB4068E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22UnInstallError_AZ_PS.JPG%22%20alt%3D%22UnInstallError_AZ_PS.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20went%20to%20the%20location%20%5CDocuments%5CWindowsPowerShell%5CModules%20and%20I%20see%20AZ%20modules%20there%2C%20but%20not%20under%26nbsp%3BC%3A%5CProgram%20Files%5CWindowsPowerShell%5CModules.%20I%20am%20able%20to%20connect%20to%20Azure%20using%20Connect-AzAccount%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20appreciate%20your%20time%20in%20troubleshooting%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1955023%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hello,

I seem to have a corrupted version of Azure PowerShell Module that I am unable to repair. I tried following  PowerShellGet but get the following error: 

 
 

InstallError_AZ_PS.JPG

However when I try to uninstall I get the following , indicating AZ module itself is not available:

UnInstallError_AZ_PS.JPG

 

I went to the location \Documents\WindowsPowerShell\Modules and I see AZ modules there, but not under C:\Program Files\WindowsPowerShell\Modules. I am able to connect to Azure using Connect-AzAccount

 

I appreciate your time in troubleshooting

 

0 Replies