Azure Function
8 Topicsunable to create a project azure devops 2019 on premises
I have azure DevOps server on-premises, and I want to create a new project but I can't. even though I'm using the admin account. I can create a new collection, but I can't create new projects, here's the log when I check it ++ Executing - Operation: ProjectCreate, Group: ProjectCreate.TfsTeamBuild [09:35:38.947] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [09:35:38.947] Executing step: Create the Team Project [09:35:38.947] Executing step: 'Create the Team Project' Build.CreateTeamProject (7 of 12) [09:38:43.323] [Error] The file exists. [09:38:43.427] System.IO.IOException: The file exists. [09:38:43.427] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [09:38:43.427] at System.IO.Path.InternalGetTempFileName(Boolean checkHost) [09:38:43.427] at Microsoft.TeamFoundation.Build.Server.ProcessTemplate.UpdateCachedProcessParameters(IVssRequestContext requestContext, VersionSpec versionSpec) [09:38:43.427] at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.AddProcessTemplates(IVssRequestContext requestContext, IList`1 processTemplates) [09:38:43.427] at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.CreateBuiltInProcessTemplates(IVssRequestContext requestContext, String teamProjectUri, Boolean isUpgrade) [09:38:43.427] at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.CreateTeamProject(IVssRequestContext requestContext, String projectUri, IList`1 permissions) [09:38:43.427] at Microsoft.TeamFoundation.Server.Servicing.TFCollection.BuildStepPerformer.CreateTeamProject(ServicingContext servicingContext) [09:38:43.427] at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext) [09:38:43.427] at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext) [09:38:43.427] at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps) [09:38:43.427] Step failed: Create the Team Project. Execution time: 3 minutes and 4 seconds. [09:38:43.427] [StepDuration] 184.3850653 [09:38:43.427] [GroupDuration] 184.4857136 [09:38:43.777] [OperationDuration] 204.5521056 [09:38:43.787] Clearing dictionary, removing all items But there's no existing file the project name is unique. any kind of support it'll be appreciated thanks & regards1KViews0likes0CommentsHow to connect Azure Function App to On-prem DNS Server?
I am creating a .NET application that validates domain from an on-prem DNS server. I would like to know how can I integrate my Azure function app to perform nslookup on the on-prem DNS server. Is there a way without using virtual networks or powershell script?876Views0likes2CommentsNo Metrics in Application Insights
I have a web app hosted in Azure. I created function apps and app service with application insights enabled on each resource. As you can see from the screenshot of my app service, there is a metric data: But when I checked its application insights, there are no data in the metrics: I also checked traces from the logs and there are data being logged. I would like to know why data is not reflected on the application insights. The instrumentation key are matched with the app settings of function app/app service. Hope you can help me on this issue. Thanks!1.1KViews0likes0CommentsAzure Function with Blob Output Binding returning 404 on GetProperties check before writing the Blob
Hi. This question is similar: https://stackoverflow.com/questions/64546302/how-to-disable-blob-existence-check-in-azure-function-output-binding But I'm wondering if there are other answers or comments out there, and more recent. I have an Azure Function with an HTTP Trigger input binding and a Blob Storage output binding. For every execution, the output binding looks like it tries to get Blob Properties first, resulting in a 404. Quite rightly, as the data to be written is going to a new Blob. But this will always fail and in this case is redundant. It takes time to go through these steps - admittedly milliseconds, but still. Presumably it's also logging somewhere, so that's a storage cost - might be negligible now, but something to not be ignored. I'm not 100% sure where that logging would be stored, either, to go and manage it. The positive is that the overall function execution is fine. But it's still recording all these failures, and we're getting 10s of thousands through it a day. Is there a way to use the concise output binding code but not do this prior if-exists-get-properties check? My options seem to be live with it, or rewrite to use BlobContainer, BlobClient and so on instead of the Blob attribute output binding. Anyone got some clever ideas?2KViews0likes1CommentHow to fix 'Operation is not valid due to the current state of the object ' in .NET Azure Function?
I have a .NET Azure Function executed by Logic Apps triggered by an SQL connector "When an item is created V2". The function gathers data from multiple APIs and inserts the data into a SQL DB. The function works good for singular records, however, when a batch of records is inserted into the SQL table triggering the function, then the function breaks with the following error: Operation is not valid due to the current state of the object According to multiple threads on the Stack Overflow (i.e. https://stackoverflow.com/questions/8832470/operation-is-not-valid-due-to-the-current-state-of-the-object-error-during-pos ), to resolve the problem the web config file should be configured in the following way: <appSettings> <add key="aspnet:MaxHttpCollectionKeys" value="2001" /> </appSettings> Is there any way to change the web.config file of an Azure Function App? Where I will find it? Or should I create it by myself? Do you have any other ideas on how to resolve the issue?16KViews0likes0CommentsFunction App DNS Resolution
Hi, I'm fairly new to Azure, having an issue with a function app that I've written. Its a fairly basic http c# trigger that goes away to a IIS site hosted (on a VM) inside the same Azure account and gets a response. I've created a DNS Zone inside the resource group, with an 'a' record for the server hosting the IIS server, however the function app can't resolve the dns entry it's being pointed at (the a record). Any tips would be greatly received. Regards, Chris2.2KViews0likes0CommentsBug: Function apps IP Restrictions blocks portal UI
I noticed that if you set a IP restriction to a Azure Function app, you block the Azure Functions portal user interface at the same time. Original goal I found this bug while trying to restrict IP addresses to Logic Apps in my region (Western Europe). Error message Error: The function runtime is unable to start. Please check the runtime logs for any errors or try again later. Reproduce 1. Create a Function app 2. Goto Function Apps -> Platform features -> All settings -> Networking -> IP Restrictions 3. Add a rule, for example: IP address 40.68.222.65 (Logic Apps in Western Europe) 4. Go back to Function Apps 5. Error message appears1.4KViews0likes0CommentsAzure Function How to find log of querystring sent?
Good day, I have an Azure Function that is being called by a 3rd party but one of their queries is causing my function to hang. I've looked at the logging information, which is supposed to log the incoming querystring parameters, but this hasn't been logged as I think the call has hit an infinite loop and isn't exiting to allow the invocation log "log" entries being captured when the function is called to appear. I added on Application Insights, but in viewing the incoming queries, there is no log of the querystring (the "?x=y" part of the "http://site/api/function?x=y" call) What modifications would I have to make to capture this? It isn't too obvious from the documentation I'm reading on how to do this.1.2KViews0likes0Comments