
[英]Azure Data Factory difference in value between hardcoded and dynamic values?
当我将值硬编码到标题中时,我在 Azure 数据工厂中有一个 web 活动,它像梦一样工作。 一个用于授权的特定 header 应该使用 @activity('CallFunctionApp').output.Response 值,它是动态的,但我收到来自 API 的无效响应。当该值被硬编码为与活 ...
[英]Azure Data Factory difference in value between hardcoded and dynamic values?
当我将值硬编码到标题中时,我在 Azure 数据工厂中有一个 web 活动,它像梦一样工作。 一个用于授权的特定 header 应该使用 @activity('CallFunctionApp').output.Response 值,它是动态的,但我收到来自 API 的无效响应。当该值被硬编码为与活 ...
[英]'WorkerOptions' does not contain a definition for 'AddApplicationInsights' in isolated Azure function program.cs file
赏金将在 6 天后到期。 此问题的答案有资格获得+50声望赏金。 user1186050正在从信誉良好的来源寻找答案: 为什么我会看到 AddApplicationInsights() 的错误? 我在下面收到此依赖项错误,我不确定为什么? 我手动添加了“Microsoft.Extensions. ...
[英]Using YAML pipeline to deploy Azure Function
我正在尝试使用 YAML 管道构建和部署 Azure Function。 构建和发布阶段工作正常,它生成一个 zip 文件,我可以下载它。 但是我的部署阶段一直失败并出现以下错误:没有找到具有指定模式的 package:D:\a\1\drop\output.zip 我试过在路径中使用不同的环境变量 ...
[英]ILogger<T> not resolved in Azure Functions startup class using Autofac
我正在尝试获取ILogger<T>的实例,以解决进程版本中 Azure Function v4 的Startup class 中的依赖项。 只有这不起作用,并且会导致异常,null 或不工作的记录器。 我按照Azure 函数的以下AutoFac文档进行操作。 我注册了一些类型并尝试在St ...
[英]GET url in Angular/Typescript results in Unknown Error instead of success
我想通过 typescript (Angular) 调用一个简单的 http function。 http api 在 Azure 中托管为 function。 通过 Postman 或直接在浏览器中调用 url,一切正常。 如果我通过 http 呼叫 url.get 就像: 我总是发现自己处于“ ...
[英]Need to Connect Azure Sql db from Azure Data Factory,restricted at Schema Level using userManagedIdentity as Authentication Method
我从 Azure 数据工厂成功连接到我的 Azure Sql db。我已将 AAD Admin 设置为我自己,还设置了门户中的 UserManagedIdentity。 现在,无论谁在 ADF 中使用该 UserManagedidentity,都可以访问整个 Sql 数据库。我需要在架构级别限制访问 ...
[英]Azure Function (.NET 7 Isolated) create an Azure Function App targeting .NET6?
今天我部署了一个新的 Azure Function App targeting .NET 7 Isolated as framework on Azure. 为了在 Azure 上创建资源,我使用了Visual Studio 2022上的向导,所以我创建了新资源并使用VS2022部署了它。 要在 ...
[英]SendGrid API returning 400 when I add more JSON properties
当我的 Azure 函数端点被调用时,我正在尝试使用 SendGrid API 创建并安排一个单一发送 email 到联系人列表。 这是我可以创建单个发送并让它与 200 响应一起使用的最少信息量。 问题是我想包括send_at: "now" 、 suppression_group_id和send ...
[英]Retriggering an Azure Cosmos DB Trigger
我的 Azure Cosmos DB 触发器遇到了问题。 显然,一些触发器失败了,因此没有完成将数据发送到特定服务。 据我所知,没有简单的方法可以“重新触发”这些事件,而无需再次在 Cosmos 中实际插入数据。 我在某处读到我可以将来自触发器的传入数据插入到 ServiceBus 队列消息中并从那 ...
[英]migrate old azure function API's to new azure function without changing url
早些时候,我们使用 azure function 应用程序(我们将其命名为 func-dev-01 )来制作 http function 和 HTTP 触发器,创建 url as **https://{function_name/apsitev}{function_name_dev? 123456 ...
[英]Azure Function function.json file is missing
我发布了我的 Azure Function,它按预期运行。 然后我在不更改任何配置值的情况下稍微更新了代码。 现在我的 function.json 文件在 Azure 中丢失了,我的 function 没有运行...... 我发布了新的个人资料。 我期待看到 function.json 文件。 ...
[英]How to effectively disable built-in logs in Azure Function (isolated mode) using Serilog logger?
如何在 Azure Function v4 隔离进程中禁用这些日志? 我正在使用 Serilog。 我已经尝试设置host.json如下: 我还尝试在UseSerilog()方法中按如下方式设置 Serilog: 也试过在Azure传送门-function配置中直接设置环境变量,也没用。 好像设置 ...
[英]Result: Failure Exception: AttributeError: 'Engine' object has no attribute 'execute' Azure Functions
我对 Azure 函数很陌生。 由于某种原因,此代码在本地运行,但在部署到 Azure Function 时,会出现此错误。 结果:失败异常:AttributeError:'引擎'object 没有属性'执行'堆栈:文件“/azure-functions-host/workers/python/3 ...
[英]Authenticate to Kusto using managed identities in Python
一旦将它们部署到生产环境中,我将尝试从我的函数改进对 Kusto 集群的身份验证。 在本地,我通过 AZ CLI 身份验证进行连接,但我发现我的组织为我的 Kusto 群集生成了用户分配的托管标识。 我有一个principalId和一个clientId 。 如何使用托管身份进行身份验证? TIA ...
[英]Azure Function cannot access SQL database hosted on Azure VM
我有一个带有消费计划的 Azure Function 和一个带有网络安全组的 Azure 虚拟机。 我想让Azure Function调用数据库,但是无法建立到SQL的连接。 我尝试允许访问 Azure Function 到 NSG,如下所示: 复制Outbound IP 地址从:Function ...
[英]My Azure Function in Python v2 doesn't show any signs of running, but it probably is
我在 Python v2 中有一个简单的 function 应用程序。 计划是处理数百万张图像,但我只是想让脚手架正确,即没有图像处理,只有虚拟数据。 所以我有两个功能: 使用 HTTP 触发器process @app.route ,这会将 3 个随机图像 URL 插入到 Azure 队列存储中, ...
[英]CRUD operations for Table Storage from Function App
我有一个小问题。 我正在尝试从 Cosmos db 迁移到 Azure 中的表存储。问题是我已经很长时间没有处理表存储了。 原来我之前用的包有很大一部分已经过时了。 并且官方文档没有提供所需的信息。 目前我使用这种方法来添加项目: 和这个 function 应用添加域: 但是当我运行 functio ...
[英]Why am I not be able to post json array from Azure Function activity at Azure Data Factory?
我在 Azure 数据工厂上创建了 Azure Function 活动。 Azure Function 活动调用 function 的 Azure Function 应用程序(Python,应用程序服务计划)。 Python 代码如下所示: # ... def get_request(s ...
[英]Nested route in Azure Function returns 404 not found
在我的 Azure Function 中,我有多个处理 GET、PUT 和 POST API 的函数,它们都工作正常。 每个 function 都有一个 index.js 文件只处理一个 HttpMethod & 我在 hosts.json 中有一个“api”的路由前缀。 其中一个功能的 f ...
[英]Where can I find the debug console in azure scm site?
我在 azure 创建了一个资源组和一个 web 应用程序。部署后我转到 https://<app_name>.scm.azurewebsites.net url 到 go 调试控制台和 8813344481859179 安装但根据文档,我没有看到任何调试选项。 ...