Welcome to MSSQL Forum!
MSSQL Forum - Discussions about Microsoft SQL Server

You are currently viewing our community forums as a guest user. Sign up or
Having an account grants you additional privileges, such as creating and participating in discussions.

Azure Function error - Value cannot be null. Parameter name: uriString

Discussion in 'SQL Azure General Discussion' started by Peter Schmitz, Aug 19, 2019.

  1. Peter Schmitz

    Peter Schmitz Administrator Staff Member

    While attempting to fire a request at the Azure Function I deployed, I was greeted with the above error:

    As it turns out, while I thought I added the parameters used by the function (which on my local machine are pulled from the local.settings file), this turned out not to be the case.

    Luckily, the issue is easily resolved by creating these parameters as Application Settings. To do so, log into your Azure portal, and find your Azure Function. Click it, and then in the main screen under "Configured Features", click "Configuration":

    upload_2019-8-19_13-6-19.png


    Using the "New Application Setting" button, you can add your variables:

    upload_2019-8-19_13-7-37.png

    Be sure to assign the names the exact same names as in your local.settings file:

    upload_2019-8-19_13-8-58.png

    Be sure to save when all variables have been created![/QUOTE]

Share This Page

Users found this page by searching for:

  1. Value cannot be null.Parameter name: uriString