locked
Dynamics NAV on Azure Powershell Script Issue RRS feed

  • Question

  • i have been using the "How Do I" Powershell script to automate the deployment of Dynamics NAV on Azure. I think the issue is with my storage account but do not know how to fix this. Please can anyone help out. this is my error message:

    Copy-VhdFileToAzureStorage : Cannot bind parameter 'Destination'. Cannot convert value "https://BlobEndpoint=https://anothernavstorag
    e.blob.core.windows.net/;QueueEndpoint=https://anothernavstorage.queue.core.windows.net/;TableEndpoint=https://anothernavstorage.tabl
    e.core.windows.net/;FileEndpoint=https://anothernavstorage.file.core.windows.net/;AccountName=anothernavstorage;AccountKey=Olz2vnmvmu
    fQ12y15cyBHPo7OBuJyx7IyOjrzB81l143c7dVzUI9v/qguqV9Lz0CBa1nCTTs/LLg2dx/r01azA==.blob.core.windows.net/vhds/MyNAV2015-21x-DynamicsNAVDv
    d.vhd" to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
    At C:\Cloud\NAVRemoteAdministration\Azure\New-AzureVhdDisk.ps1:84 char:9
    +         Copy-VhdFileToAzureStorage `
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Copy-VhdFileToAzureStorage], ParameterBindingException
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Copy-VhdFileToAzureStorage

    Friday, February 5, 2016 5:14 PM

All replies