[英]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 安裝但根據文檔,我沒有看到任何調試選項。 ...