Replies: 4 comments 4 replies
-
Hi @veerabose, appreciate you reaching out for support! First and foremost, you shouldn't need to modify anything in the I also wanted to make sure that when you upgraded the PowerShell SDK that you followed the instructions located in the following doc: My guess is that you might not have authenticated to the PowerShell SDK prior to running the Deployment script. Have you followed the steps here first? If that doesn't work, can you share the output of the following PowerShell command:
Knowing this output will be extremely helpful in further diagnosing your issue. Give that a whirl and let me know how things go! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback @veerabose! I believe you likely need to reinstall the Azure PowerShell SDK, and I'd recommend using this guide to do so. It's important to completely close and restart your PowerShell console too after the installation in case there are some files in use that cannot be updated live. You may also want to review the prerequisites section of our documentation. In addition to the Azure PowerShell SDK we require the Bicep CLI to be available which can be downloaded here. I hope all of this helps. The output of the command you shared above is indeed correct, so I believe this is just a case of making sure the tooling is properly installed and configure on your machine, then you should be good o install Azure IPAM. |
Beta Was this translation helpful? Give feedback.
-
Hi DCMatty, Thank you for your response and time. After following the instruction, I'm able to execute the deploy.ps1. however got below error. (Code: InvalidTemplateDeployment) - Validation failed for a resource. Check 'Error.Details[0]' for more information. (Code: ValidationForResourceFailed) - since im using free tire subscription. I modified the appService BICEP file to use standard appservice plan SKU. and executed the deploy.ps1 got error ""message": "Category 'AppServiceAntivirusScanAuditLogs' is not supported." I modified bicep file "category: 'AppServiceAntivirusScanAuditLogs' enabled: false", but when I execute, deployment got stuck without creating appserviceplan for long time. Could you please guide to complete the deployment using standard appserviceplan SKU. Thanks |
Beta Was this translation helpful? Give feedback.
-
HI DCMatty, I tried with different subscription now, and I'm getting below error while running the "./deploy.ps1 -Location "westus" -NamePrefix "devipam"" INFO: Deploying IPAM bicep templates
Could you please help me to complete the IMAP deployment, Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi Experts,
I tried to deploy and configure an Azure IPAM on a free tire subscription with full tenant ownership on a windows 10 system. I installed "Az"; ModuleVersion="11.1.0"; and modified Az model version to 11.1.0 in deploy.ps1, I executed the "./deploy.ps1 -Location "eastus"", I got the following error; could you please guide me to complete the successful IMPA deployment.
deploy_log
NOTE: IPAM Deployment Type: Full
INFO: Fetching Tenant ID from Azure PowerShell SDK
INFO: Fetching Azure Cloud type from Azure PowerShell SDK
ERROR: Unable to deploy Azure IPAM solution due to an exception, see logs for detailed information!
Run Log: ..\logs\deploy_20231222070723PM.log
Error Log: ..\logs\error_20231222070723PM.log
error_log
InvalidOperation: C:\Users\Admin\ipam\deploy\deploy.ps1:808
Line |
808 | $azureCloud = $AZURE_ENV_MAP[(Get-AzContext).Environment.Name]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
Thanks & Regards,
Veera.
Beta Was this translation helpful? Give feedback.
All reactions