ExtensionNotFoundForCPUArchitecture error trying to install custom script extension on Windows 11 Vm

Paul Tierney 11 Reputation points
2022-12-21T15:34:10.527+00:00

I uploaded a simple powershell script to a storage container and then tried to install it onto a Windows 11 virtual machine as custom script extension but it always fails error with an error "ExtensionNotFoundForCPUArchitecture"
What am I doing wrong?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,068 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Paul Tierney 11 Reputation points
    2022-12-22T08:51:12.873+00:00

    I think I've figured out my issue. I didn't realise that for running multiple scripts it isn't a single custom script extension per script. I already had a custom script extension installed and so adding a second extension to deploy my second script was causing the above error which wasn't obvious from the error message!

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.