none
Repository 'UpdateSiteSourceControl' operation failed with System.NullReferenceException: RRS feed

  • Question

  • Hi,

    I'm trying to deploy a python function app from a dev.azure.com repo to a azure function app. The command

    az functionapp deployment source config --name FnOne --resource-group FnOne --repo-url https://user@dev.azure.com/cpm/f1/_git/f1 --branch master --git-token xxx

    gives me the following error message:

    Repository 'UpdateSiteSourceControl' operation failed with System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider..ctor(String repositoryUri, String userName, String password, String stampHostName)
       at Microsoft.Web.Hosting.Administration.VsoSiteRepositoryProvider..ctor(String tfsImpersonate, IAdminServiceConfiguration config, String repositoryUri, String userName, String password, String stampHostName)
       at Microsoft.Web.Hosting.Administration.SiteRepositoryProviderFactory.CreateProvider(String uri, SourceControlType sourceControlType, Nullable`1 sourceControlEnvironmentType, String userName, String password, IAdminServiceConfiguration config, IDictionary`2 metadata)
       at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl).

    How do I connect my git repo with the function app in azure?

    Regards,

    Matthias

    Tuesday, December 11, 2018 2:08 PM