2026-03-08T05:41:16.0944637Z ##[section]Starting: Run CosmosDb_NoSql Integration Tests 2026-03-08T05:41:16.0957083Z ============================================================================== 2026-03-08T05:41:16.0957266Z Task : .NET Core 2026-03-08T05:41:16.0957368Z Description : Build, test, package, or publish a dotnet application, or run a custom dotnet command 2026-03-08T05:41:16.0957548Z Version : 2.269.0 2026-03-08T05:41:16.0957650Z Author : Microsoft Corporation 2026-03-08T05:41:16.0957773Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli 2026-03-08T05:41:16.0957931Z ============================================================================== 2026-03-08T05:41:16.7069793Z [command]C:\Windows\system32\chcp.com 65001 2026-03-08T05:41:16.7217216Z Active code page: 65001 2026-03-08T05:41:16.7241808Z Info: .NET Core SDK/runtime 2.2 and 3.0 are now End of Life(EOL) and have been removed from all hosted agents. If you're using these SDK/runtimes on hosted agents, kindly upgrade to newer versions which are not EOL, or else use UseDotNet task to install the required version. 2026-03-08T05:41:17.3146538Z [command]C:\hostedtoolcache\windows\dotnet\dotnet.exe test D:\a\1\s\src\Cli.Tests\Cli.Tests.csproj --logger trx --results-directory D:\a\_temp --filter TestCategory=CosmosDb_NoSql --no-build --configuration Release --collect "XPlat Code coverage" 2026-03-08T05:41:18.2061815Z Test run for D:\a\1\s\src\out\tests\net8.0\Cli.Tests.dll (.NETCoreApp,Version=v8.0) 2026-03-08T05:41:18.3933206Z VSTest version 17.11.1 (x64) 2026-03-08T05:41:18.4004719Z 2026-03-08T05:41:18.8616999Z Starting test execution, please wait... 2026-03-08T05:41:18.9696836Z A total of 1 test files matched the specified pattern. 2026-03-08T05:41:50.9777845Z No test matches the given testcase filter `TestCategory=CosmosDb_NoSql` in D:\a\1\s\src\out\tests\net8.0\Cli.Tests.dll 2026-03-08T05:41:54.1074080Z Results File: D:\a\_temp\VssAdministrator_runnervmzcrer_2026-03-08_05_41_53.trx 2026-03-08T05:41:54.1074336Z 2026-03-08T05:41:54.1074434Z 2026-03-08T05:41:54.1074666Z Attachments: 2026-03-08T05:41:54.1074955Z D:\a\_temp\472817d4-373f-4e27-bbbf-7cc79bfd374a\coverage.cobertura.xml 2026-03-08T05:41:54.1075108Z 2026-03-08T05:41:54.1075569Z [command]C:\hostedtoolcache\windows\dotnet\dotnet.exe test D:\a\1\s\src\Service.Tests\Azure.DataApiBuilder.Service.Tests.csproj --logger trx --results-directory D:\a\_temp --filter TestCategory=CosmosDb_NoSql --no-build --configuration Release --collect "XPlat Code coverage" 2026-03-08T05:41:54.6786434Z Test run for D:\a\1\s\src\out\tests\net8.0\Azure.DataApiBuilder.Service.Tests.dll (.NETCoreApp,Version=v8.0) 2026-03-08T05:41:54.7917582Z VSTest version 17.11.1 (x64) 2026-03-08T05:41:54.7960246Z 2026-03-08T05:41:54.9365827Z Starting test execution, please wait... 2026-03-08T05:41:54.9834957Z A total of 1 test files matched the specified pattern. 2026-03-08T05:42:59.9857317Z Failed AuthZ failure for create mutation because of reference to excluded/disallowed fields. [9 s] 2026-03-08T05:42:59.9858404Z Error Message: 2026-03-08T05:42:59.9858879Z Assert.IsTrue failed. 2026-03-08T05:42:59.9859271Z Stack Trace: 2026-03-08T05:42:59.9859890Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.CreateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 305 2026-03-08T05:42:59.9860365Z 2026-03-08T05:42:59.9860749Z Standard Output Messages: 2026-03-08T05:42:59.9861206Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:42:59.9861716Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:42:59.9862186Z Loading config file from C:\dab-config.json. 2026-03-08T05:42:59.9862969Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:42:59.9863702Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:42:59.9866087Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:42:59.9866653Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:42:59.9867221Z 1030831e-f79c-4f73-9d28-55cce65dc62b AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:42:59.9867750Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:42:59.9868196Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:42:59.9868659Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:42:59.9869260Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:42:59.9869705Z 2026-03-08T05:42:59.9869928Z 2026-03-08T05:43:06.8456392Z Failed AuthZ success when role has no create/read operation restrictions. [6 s] 2026-03-08T05:43:06.8480686Z Error Message: 2026-03-08T05:43:06.8520706Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.CreateItemWithAuthPermissions threw exception: 2026-03-08T05:43:06.8548758Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:06.8574489Z Stack Trace: 2026-03-08T05:43:06.8597071Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:06.8616835Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:06.8618760Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:06.8619332Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:06.8620004Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.CreateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 300 2026-03-08T05:43:06.8620482Z 2026-03-08T05:43:06.8620891Z Standard Output Messages: 2026-03-08T05:43:06.8621351Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:06.8621839Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:06.8622304Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:06.8622762Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:06.8623249Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:06.8623756Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:06.8624270Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:06.8624853Z 2f4b5f13-94ea-4c5a-a21e-83f3625a3440 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:06.8625357Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:06.8625784Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:06.8626238Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:06.8627217Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:06.8628725Z 2026-03-08T05:43:06.8629038Z 2026-03-08T05:43:10.5817627Z Failed Successful create operation but AuthZ failure for read when role has ONLY create permission and NO read permission. [2 s] 2026-03-08T05:43:10.5818107Z Error Message: 2026-03-08T05:43:10.5818358Z Assert.IsTrue failed. 2026-03-08T05:43:10.5818601Z Stack Trace: 2026-03-08T05:43:10.5819061Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.CreateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 305 2026-03-08T05:43:10.5820220Z 2026-03-08T05:43:10.5820472Z Standard Output Messages: 2026-03-08T05:43:10.5820780Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:10.5821129Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:10.5821448Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:10.5821737Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:10.5822071Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:10.5822419Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:10.5822795Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:10.5823206Z 9c08774d-aec0-4813-9ad4-436490450117 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:10.5823562Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:10.5823830Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:10.5824490Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:10.5824979Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:10.5825245Z 2026-03-08T05:43:10.5825325Z 2026-03-08T05:43:12.6828495Z Failed AuthZ failure for create mutation because of reference to excluded/disallowed field using wildcard. [2 s] 2026-03-08T05:43:12.7026457Z Error Message: 2026-03-08T05:43:12.7260565Z Assert.IsTrue failed. 2026-03-08T05:43:12.7436648Z Stack Trace: 2026-03-08T05:43:12.7633287Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.CreateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 305 2026-03-08T05:43:12.7802447Z 2026-03-08T05:43:12.7988064Z Standard Output Messages: 2026-03-08T05:43:12.8135764Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:12.8323964Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:12.8545779Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:12.8744389Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:12.8890879Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:12.8959466Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:12.8991660Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:12.9026159Z 84a3e2ba-3d41-4d63-8745-22fa1a8cf4d7 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:12.9108643Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:12.9409950Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:12.9511007Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:12.9743217Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:12.9836254Z 2026-03-08T05:43:13.0073017Z 2026-03-08T05:43:18.8666928Z Failed AuthZ failure for update mutation because of reference to excluded/disallowed fields. [3 s] 2026-03-08T05:43:18.8997396Z Error Message: 2026-03-08T05:43:18.9061456Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions threw exception: 2026-03-08T05:43:18.9377325Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:18.9467308Z Stack Trace: 2026-03-08T05:43:18.9767696Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:18.9956671Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:19.0118574Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:19.0323648Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:19.0487865Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 351 2026-03-08T05:43:19.0786235Z 2026-03-08T05:43:19.0857405Z Standard Output Messages: 2026-03-08T05:43:19.0929255Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:19.0974283Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:19.1013321Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:19.1204980Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:19.1338386Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:19.1578212Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:19.1676691Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:19.1903215Z aacce669-d496-43bb-af5b-ba731cac1290 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:19.1976268Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:19.2003420Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:19.2005200Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:19.2015269Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:19.2016635Z 2026-03-08T05:43:19.2017171Z 2026-03-08T05:43:22.0282045Z Failed AuthZ success when role has no update/read operation restrictions. [3 s] 2026-03-08T05:43:22.0605025Z Error Message: 2026-03-08T05:43:22.0621587Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions threw exception: 2026-03-08T05:43:22.0924888Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:22.0954665Z Stack Trace: 2026-03-08T05:43:22.1274993Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:22.1595033Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:22.1605022Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:22.1922065Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:22.1940805Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 351 2026-03-08T05:43:22.2069884Z 2026-03-08T05:43:22.2074023Z Standard Output Messages: 2026-03-08T05:43:22.2075058Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:22.2244934Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:22.2401641Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:22.2574958Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:22.2724928Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:22.2890714Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:22.2897657Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:22.2898717Z 7a2d489a-fb1d-4073-8fd2-6ceaab977aaf AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:22.2907323Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:22.2908877Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:22.2909599Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:22.2915353Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:22.2916606Z 2026-03-08T05:43:22.2917067Z 2026-03-08T05:43:25.0110563Z Failed AuthZ failure but successful operation where role has ONLY update permission and NO read permission. [2 s] 2026-03-08T05:43:25.0465512Z Error Message: 2026-03-08T05:43:25.0875415Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions threw exception: 2026-03-08T05:43:25.0994457Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:25.1316826Z Stack Trace: 2026-03-08T05:43:25.1635430Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:25.1729717Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:25.2055707Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:25.2075257Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:25.2149182Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 351 2026-03-08T05:43:25.2435902Z 2026-03-08T05:43:25.2476870Z Standard Output Messages: 2026-03-08T05:43:25.2754875Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:25.2795101Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:25.3081656Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:25.3104231Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:25.3165022Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:25.3181469Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:25.3192128Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:25.3193259Z d17cd4e4-2309-4a3d-a409-31d49733f9c0 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:25.3199183Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:25.3205048Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:25.3206070Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:25.3210656Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:25.3214287Z 2026-03-08T05:43:25.3215089Z 2026-03-08T05:43:28.0484080Z Failed AuthZ failure for update mutation because of reference to excluded/disallowed field using wildcard. [3 s] 2026-03-08T05:43:28.0598862Z Error Message: 2026-03-08T05:43:28.0851045Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions threw exception: 2026-03-08T05:43:28.0919558Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:28.1172457Z Stack Trace: 2026-03-08T05:43:28.1271222Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:28.1599343Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:28.1952933Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:28.2089303Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:28.2497787Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 351 2026-03-08T05:43:28.2753488Z 2026-03-08T05:43:28.2852411Z Standard Output Messages: 2026-03-08T05:43:28.2937170Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:28.3192729Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:28.3278201Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:28.3562616Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:28.3652432Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:28.3886747Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:28.3932573Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:28.3958372Z e4215482-d7b7-412d-a8c2-d0ff8eeeebbb AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:28.3968140Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:28.3992405Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:28.4016850Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:28.4051495Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:28.4077083Z 2026-03-08T05:43:28.4103697Z 2026-03-08T05:43:30.9230542Z Failed AuthZ failure when update permission is NOT there. [2 s] 2026-03-08T05:43:30.9323359Z Error Message: 2026-03-08T05:43:30.9384794Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions threw exception: 2026-03-08T05:43:30.9435787Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:30.9458375Z Stack Trace: 2026-03-08T05:43:30.9488632Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:30.9513421Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:30.9574575Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:30.9604282Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:30.9625511Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.UpdateItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 351 2026-03-08T05:43:30.9627136Z 2026-03-08T05:43:30.9627687Z Standard Output Messages: 2026-03-08T05:43:30.9628259Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:30.9628842Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:30.9629385Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:30.9629901Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:30.9630455Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:30.9631018Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:30.9631615Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:30.9632270Z 42db632c-621a-4959-b052-c91d7a7d4b94 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:30.9632871Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:30.9633381Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:30.9634756Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:30.9636637Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:30.9637210Z 2026-03-08T05:43:30.9637499Z 2026-03-08T05:43:33.6754450Z Failed AuthZ success and blank response for delete mutation because of reference to excluded/disallowed fields. [2 s] 2026-03-08T05:43:33.6769302Z Error Message: 2026-03-08T05:43:33.6770170Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions threw exception: 2026-03-08T05:43:33.6771076Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:33.6771526Z Stack Trace: 2026-03-08T05:43:33.6771955Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:33.6772477Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:33.6772963Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:33.6773404Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:33.6773983Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 428 2026-03-08T05:43:33.6774397Z 2026-03-08T05:43:33.6774723Z Standard Output Messages: 2026-03-08T05:43:33.6775110Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:33.6775545Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:33.6776275Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:33.6776957Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:33.6777380Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:33.6777800Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:33.6778256Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:33.6778777Z 3a4ff8cc-1964-46d8-8d14-0177320029e6 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:33.6779233Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:33.6779600Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:33.6780000Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:33.6780544Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:33.6781169Z 2026-03-08T05:43:33.6781352Z 2026-03-08T05:43:37.2476120Z Failed AuthZ success and blank response when role has no delete operation restrictions. [3 s] 2026-03-08T05:43:37.2499086Z Error Message: 2026-03-08T05:43:37.2525450Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions threw exception: 2026-03-08T05:43:37.2526771Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:37.2527366Z Stack Trace: 2026-03-08T05:43:37.2527872Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:37.2528471Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:37.2529057Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:37.2529558Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:37.2530188Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 428 2026-03-08T05:43:37.2530671Z 2026-03-08T05:43:37.2531061Z Standard Output Messages: 2026-03-08T05:43:37.2531520Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:37.2532388Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:37.2532866Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:37.2533314Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:37.2533809Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:37.2534305Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:37.2534824Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:37.2535407Z b4c0682b-9b75-419a-a6bb-019ac2d76620 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:37.2536258Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:37.2538104Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:37.2538625Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:37.2539252Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:37.2539667Z 2026-03-08T05:43:37.2539898Z 2026-03-08T05:43:39.9876542Z Failed AuthZ failure but successful operation where role has ONLY delete permission and NO read permission. [2 s] 2026-03-08T05:43:39.9877668Z Error Message: 2026-03-08T05:43:39.9878251Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions threw exception: 2026-03-08T05:43:39.9878906Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:39.9879399Z Stack Trace: 2026-03-08T05:43:39.9879877Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:39.9880496Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:39.9881068Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:39.9881886Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:39.9882544Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 428 2026-03-08T05:43:39.9883026Z 2026-03-08T05:43:39.9883411Z Standard Output Messages: 2026-03-08T05:43:39.9883880Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:39.9884393Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:39.9885219Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:39.9885967Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:39.9886490Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:39.9887003Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:39.9887532Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:39.9888093Z 8d878f81-9d13-4787-a3a8-345eebdea200 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:39.9888638Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:39.9889085Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:39.9889540Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:39.9890155Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:39.9890835Z 2026-03-08T05:43:39.9891063Z 2026-03-08T05:43:42.7975135Z Failed AuthZ success and blank response for delete mutation because of reference to excluded/disallowed fields using wildcard [2 s] 2026-03-08T05:43:42.7975509Z Error Message: 2026-03-08T05:43:42.7975839Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions threw exception: 2026-03-08T05:43:42.7976275Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:42.7976618Z Stack Trace: 2026-03-08T05:43:42.7976961Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:42.7977415Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:42.7977818Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:42.7978171Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:42.7978672Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 428 2026-03-08T05:43:42.7978992Z 2026-03-08T05:43:42.7979228Z Standard Output Messages: 2026-03-08T05:43:42.7979535Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:42.7979869Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:42.7980188Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:42.7980492Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:42.7980838Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:42.7981190Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:42.7981570Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:42.7982324Z 97eaea9d-30d9-48e4-9bfc-04b7f4d0d49b AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:42.7983912Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:42.7984204Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:42.7984514Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:42.7984963Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:42.7985226Z 2026-03-08T05:43:42.7985308Z 2026-03-08T05:43:45.4852840Z Failed AuthZ failure when delete permission is NOT there. [2 s] 2026-03-08T05:43:45.4884872Z Error Message: 2026-03-08T05:43:45.4920574Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions threw exception: 2026-03-08T05:43:45.4922881Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:43:45.4923924Z Stack Trace: 2026-03-08T05:43:45.4924739Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:43:45.4925439Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:43:45.4926083Z at System.Text.Json.JsonElement.TryGetProperty(String propertyName, JsonElement& value) 2026-03-08T05:43:45.4926641Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:43:45.4927355Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.MutationTests.DeleteItemWithAuthPermissions(String roleName, String expectedErrorMessage) in D:\a\1\s\src\Service.Tests\CosmosTests\MutationTests.cs:line 428 2026-03-08T05:43:45.4928241Z 2026-03-08T05:43:45.4928705Z Standard Output Messages: 2026-03-08T05:43:45.4929221Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:45.4929813Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:45.4930342Z Loading config file from C:\dab-config.json. 2026-03-08T05:43:45.4930850Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:43:45.4931412Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:43:45.4931989Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:43:45.4932571Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:43:45.4933200Z 28af89e3-f324-4f8b-a453-9f84e52ea1da AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:43:45.4934255Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:43:45.4934967Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:43:45.4935485Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:43:45.4936159Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["createPlanetAgain"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:43:45.4936636Z 2026-03-08T05:43:45.4936913Z 2026-03-08T05:44:49.3038581Z Failed TestStringFiltersOnTwoLevelNestedArrayType [2 s] 2026-03-08T05:44:49.3067231Z Error Message: 2026-03-08T05:44:49.3377543Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestStringFiltersOnTwoLevelNestedArrayType threw exception: 2026-03-08T05:44:49.3428953Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:44:49.3739506Z Stack Trace: 2026-03-08T05:44:49.3755073Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:44:49.4074618Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:44:49.4086323Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:44:49.4415721Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.ExecuteAndValidateResult(String graphQLQueryName, String gqlQuery, String dbQuery, Boolean ignoreBlankResults, Dictionary`2 variables) in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 288 2026-03-08T05:44:49.4430095Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestStringFiltersOnTwoLevelNestedArrayType() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 193 2026-03-08T05:44:49.4756036Z 2026-03-08T05:44:50.4097148Z Standard Output Messages: 2026-03-08T05:44:50.4097523Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:44:50.4097879Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:44:50.4098212Z Loading config file from C:\dab-config.json. 2026-03-08T05:44:50.4098501Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:44:50.4098845Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:44:50.4099201Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:44:50.4099789Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:44:50.4100223Z 83eecd7f-79d4-439d-be90-9009db886437 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:44:50.4100588Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:44:50.4101291Z A GraphQL request execution error occurred. 2026-03-08T05:44:50.4101657Z Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Access forbidden to a field referenced in the filter. 2026-03-08T05:44:50.4102868Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 166 2026-03-08T05:44:50.4103638Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.HandleNestedFilterForCosmos(IMiddlewareContext ctx, IInputValueDefinition filterField, List`1 subfields, String columnName, String entityType, List`1 predicates, CosmosQueryStructure queryStructure, ISqlMetadataProvider metadataProvider) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 327 2026-03-08T05:44:50.4104419Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 207 2026-03-08T05:44:50.4105185Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.HandleNestedFilterForCosmos(IMiddlewareContext ctx, IInputValueDefinition filterField, List`1 subfields, String columnName, String entityType, List`1 predicates, CosmosQueryStructure queryStructure, ISqlMetadataProvider metadataProvider) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 327 2026-03-08T05:44:50.4105968Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 207 2026-03-08T05:44:50.4106734Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.HandleNestedFilterForCosmos(IMiddlewareContext ctx, IInputValueDefinition filterField, List`1 subfields, String columnName, String entityType, List`1 predicates, CosmosQueryStructure queryStructure, ISqlMetadataProvider metadataProvider) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 327 2026-03-08T05:44:50.4107483Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 207 2026-03-08T05:44:50.4108228Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 210 2026-03-08T05:44:50.4108949Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure..ctor(IMiddlewareContext context, IDictionary`2 parameters, RuntimeConfigProvider provider, ISqlMetadataProvider metadataProvider, IAuthorizationResolver authorizationResolver, GQLFilterParser gQLFilterParser, IncrementingInteger counter, List`1 predicates) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 67 2026-03-08T05:44:50.4109859Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters, String dataSourceName) in /_/src/Core/Resolvers/CosmosQueryEngine.cs:line 72 2026-03-08T05:44:50.4110438Z at Azure.DataApiBuilder.Service.Services.ExecutionHelper.ExecuteQueryAsync(IMiddlewareContext context) in /_/src/Core/Services/ExecutionHelper.cs:line 90 2026-03-08T05:44:50.4110936Z at ResolverTypeInterceptor.<>c__DisplayClass8_1.<<-ctor>b__2>d.MoveNext() in /_/src/Core/Services/ResolverTypeInterceptor.cs:line 28 2026-03-08T05:44:50.4111304Z --- End of stack trace from previous location --- 2026-03-08T05:44:50.4111754Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) 2026-03-08T05:44:50.4112211Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) 2026-03-08T05:44:50.4112773Z GraphQL error: [{"message":"Access forbidden to a field referenced in the filter.","locations":[{"line":2,"column":17}],"path":["planets"],"extensions":{"code":"AuthorizationCheckFailed"}}] 2026-03-08T05:44:50.4113016Z 2026-03-08T05:44:50.4113115Z 2026-03-08T05:45:14.5787664Z Skipped TestStringFiltersContainsWithSpecialChars 2026-03-08T05:46:00.4369594Z Skipped TestExplicitNullFieldsAreIgnored 2026-03-08T05:46:19.5680728Z Failed TestFilterOnTwoDifferentNestedObjects [3 s] 2026-03-08T05:46:19.5924153Z Error Message: 2026-03-08T05:46:19.6028196Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestFilterOnTwoDifferentNestedObjects threw exception: 2026-03-08T05:46:19.6028906Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:46:19.6314606Z Stack Trace: 2026-03-08T05:46:19.6381643Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:46:19.6635129Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:46:19.6704118Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.ExecuteAndValidateResult(String graphQLQueryName, String gqlQuery, String dbQuery, Boolean ignoreBlankResults, Dictionary`2 variables) in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 288 2026-03-08T05:46:19.6994274Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestFilterOnTwoDifferentNestedObjects() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 924 2026-03-08T05:46:19.7069828Z 2026-03-08T05:46:19.7395428Z Standard Output Messages: 2026-03-08T05:46:19.7727230Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:19.7772153Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:19.7797968Z Loading config file from C:\dab-config.json. 2026-03-08T05:46:19.7800616Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:46:19.7801555Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:19.8090680Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:19.8131729Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:46:19.8421710Z cededcc3-b48f-4d1b-9b8e-ea31293cbb72 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:46:19.8451425Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:46:19.8741647Z A GraphQL request execution error occurred. 2026-03-08T05:46:19.8755692Z Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Access forbidden to a field referenced in the filter. 2026-03-08T05:46:19.8757706Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 166 2026-03-08T05:46:19.8758994Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 223 2026-03-08T05:46:19.8767517Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 210 2026-03-08T05:46:19.8769235Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters, String dataSourceName) in /_/src/Core/Resolvers/CosmosQueryEngine.cs:line 72 2026-03-08T05:46:19.8770559Z at Azure.DataApiBuilder.Service.Services.ExecutionHelper.ExecuteQueryAsync(IMiddlewareContext context) in /_/src/Core/Services/ExecutionHelper.cs:line 90 2026-03-08T05:46:19.8777542Z at ResolverTypeInterceptor.<>c__DisplayClass8_1.<<-ctor>b__2>d.MoveNext() in /_/src/Core/Services/ResolverTypeInterceptor.cs:line 28 2026-03-08T05:46:19.8778771Z --- End of stack trace from previous location --- 2026-03-08T05:46:19.8779582Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) 2026-03-08T05:46:19.8785049Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) 2026-03-08T05:46:19.8786375Z GraphQL error: [{"message":"Access forbidden to a field referenced in the filter.","locations":[{"line":2,"column":17}],"path":["planets"],"extensions":{"code":"AuthorizationCheckFailed"}}] 2026-03-08T05:46:19.8787013Z 2026-03-08T05:46:19.8806456Z 2026-03-08T05:46:26.0865613Z Failed TestQueryFilterFieldAuth_AuthorizedField [2 s] 2026-03-08T05:46:26.1171980Z Error Message: 2026-03-08T05:46:26.1188057Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestQueryFilterFieldAuth_AuthorizedField threw exception: 2026-03-08T05:46:26.1494543Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:46:26.1515152Z Stack Trace: 2026-03-08T05:46:26.1825261Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:46:26.1844612Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:46:26.2154017Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.ExecuteAndValidateResult(String graphQLQueryName, String gqlQuery, String dbQuery, Boolean ignoreBlankResults, Dictionary`2 variables) in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 288 2026-03-08T05:46:26.2165661Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestQueryFilterFieldAuth_AuthorizedField() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 997 2026-03-08T05:46:26.2483743Z 2026-03-08T05:46:26.2484645Z Standard Output Messages: 2026-03-08T05:46:26.2805382Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:26.2810724Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:26.2821062Z Loading config file from C:\dab-config.json. 2026-03-08T05:46:26.2822586Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:46:26.2823540Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:26.3124076Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:26.3163674Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:46:26.3466635Z f56b5dea-c7c4-451e-aac3-f7b309e7b039 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:46:26.3534433Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:46:26.3794524Z A GraphQL request execution error occurred. 2026-03-08T05:46:26.3832758Z Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Access forbidden to a field referenced in the filter. 2026-03-08T05:46:26.3835516Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 166 2026-03-08T05:46:26.3836727Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 223 2026-03-08T05:46:26.3845818Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 210 2026-03-08T05:46:26.3847483Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters, String dataSourceName) in /_/src/Core/Resolvers/CosmosQueryEngine.cs:line 72 2026-03-08T05:46:26.3848432Z at Azure.DataApiBuilder.Service.Services.ExecutionHelper.ExecuteQueryAsync(IMiddlewareContext context) in /_/src/Core/Services/ExecutionHelper.cs:line 90 2026-03-08T05:46:26.3854577Z at ResolverTypeInterceptor.<>c__DisplayClass8_1.<<-ctor>b__2>d.MoveNext() in /_/src/Core/Services/ResolverTypeInterceptor.cs:line 28 2026-03-08T05:46:26.3855908Z --- End of stack trace from previous location --- 2026-03-08T05:46:26.3856647Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) 2026-03-08T05:46:26.3861020Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) 2026-03-08T05:46:26.3862307Z GraphQL error: [{"message":"Access forbidden to a field referenced in the filter.","locations":[{"line":2,"column":17}],"path":["planets"],"extensions":{"code":"AuthorizationCheckFailed"}}] 2026-03-08T05:46:26.3863304Z 2026-03-08T05:46:26.3882932Z 2026-03-08T05:46:36.5920586Z Failed TestQueryFilterNestedFieldAuth_AuthorizedNestedField [3 s] 2026-03-08T05:46:36.5920934Z Error Message: 2026-03-08T05:46:36.5921307Z Test method Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestQueryFilterNestedFieldAuth_AuthorizedNestedField threw exception: 2026-03-08T05:46:36.5922409Z System.InvalidOperationException: The requested operation requires an element of type 'Object', but the target element has type 'Array'. 2026-03-08T05:46:36.5922797Z Stack Trace: 2026-03-08T05:46:36.5923131Z at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType) 2026-03-08T05:46:36.5923589Z at System.Text.Json.JsonDocument.TryGetNamedPropertyValue(Int32 index, ReadOnlySpan`1 propertyName, JsonElement& value) 2026-03-08T05:46:36.5924291Z at System.Text.Json.JsonElement.GetProperty(String propertyName) 2026-03-08T05:46:36.5924786Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestQueryFilterNestedFieldAuth_AuthorizedNestedField() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 1088 2026-03-08T05:46:36.5925094Z 2026-03-08T05:46:36.5925353Z Standard Output Messages: 2026-03-08T05:46:36.5925657Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:36.5926027Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:36.5926358Z Loading config file from C:\dab-config.json. 2026-03-08T05:46:36.5926882Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:46:36.5927227Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:36.5927558Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:36.5927969Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:46:36.5928380Z 3789685a-8761-4697-8903-605eaf027992 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:46:36.5928840Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:46:36.5929151Z A GraphQL request execution error occurred. 2026-03-08T05:46:36.5929497Z Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Access forbidden to a field referenced in the filter. 2026-03-08T05:46:36.5930059Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 166 2026-03-08T05:46:36.5930869Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 223 2026-03-08T05:46:36.5931427Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 210 2026-03-08T05:46:36.5931992Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters, String dataSourceName) in /_/src/Core/Resolvers/CosmosQueryEngine.cs:line 72 2026-03-08T05:46:36.5932574Z at Azure.DataApiBuilder.Service.Services.ExecutionHelper.ExecuteQueryAsync(IMiddlewareContext context) in /_/src/Core/Services/ExecutionHelper.cs:line 90 2026-03-08T05:46:36.5933067Z at ResolverTypeInterceptor.<>c__DisplayClass8_1.<<-ctor>b__2>d.MoveNext() in /_/src/Core/Services/ResolverTypeInterceptor.cs:line 28 2026-03-08T05:46:36.5933458Z --- End of stack trace from previous location --- 2026-03-08T05:46:36.5933818Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) 2026-03-08T05:46:36.5934261Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) 2026-03-08T05:46:36.5934738Z GraphQL error: [{"message":"Access forbidden to a field referenced in the filter.","locations":[{"line":2,"column":17}],"path":["planets"],"extensions":{"code":"AuthorizationCheckFailed"}}] 2026-03-08T05:46:37.5924802Z 2026-03-08T05:46:37.5925288Z 2026-03-08T05:46:46.7926995Z Failed TestQueryFieldAuthConflictingWithFilterFieldAuth_Unauthorized [2 s] 2026-03-08T05:46:46.7934284Z Error Message: 2026-03-08T05:46:46.8254033Z Assert.IsTrue failed. 2026-03-08T05:46:46.8334342Z Stack Trace: 2026-03-08T05:46:46.8623935Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryFilterTests.TestQueryFieldAuthConflictingWithFilterFieldAuth_Unauthorized() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryFilterTests.cs:line 1208 2026-03-08T05:46:46.8654031Z 2026-03-08T05:46:46.8954035Z Standard Output Messages: 2026-03-08T05:46:46.8974398Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:46.9284756Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:46.9303674Z Loading config file from C:\dab-config.json. 2026-03-08T05:46:46.9634490Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:46:47.6409880Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:46:47.6410288Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:46:47.6410734Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:46:47.6411152Z f6e35370-b0b8-408c-907d-c7a4a3759b35 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:46:47.6411571Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:46:47.6411864Z A GraphQL request execution error occurred. 2026-03-08T05:46:47.6412216Z Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Access forbidden to a field referenced in the filter. 2026-03-08T05:46:47.6412802Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 166 2026-03-08T05:46:47.6413493Z at Azure.DataApiBuilder.Core.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputValueDefinition filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Core/Models/GraphQLFilterParsers.cs:line 223 2026-03-08T05:46:47.6414489Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Core/Resolvers/CosmosQueryStructure.cs:line 210 2026-03-08T05:46:47.6415059Z at Azure.DataApiBuilder.Core.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters, String dataSourceName) in /_/src/Core/Resolvers/CosmosQueryEngine.cs:line 72 2026-03-08T05:46:47.6415610Z at Azure.DataApiBuilder.Service.Services.ExecutionHelper.ExecuteQueryAsync(IMiddlewareContext context) in /_/src/Core/Services/ExecutionHelper.cs:line 90 2026-03-08T05:46:47.6416118Z at ResolverTypeInterceptor.<>c__DisplayClass8_1.<<-ctor>b__2>d.MoveNext() in /_/src/Core/Services/ResolverTypeInterceptor.cs:line 28 2026-03-08T05:46:47.6416511Z --- End of stack trace from previous location --- 2026-03-08T05:46:47.6417167Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) 2026-03-08T05:46:47.6417651Z at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) 2026-03-08T05:46:47.6418125Z GraphQL error: [{"message":"Access forbidden to a field referenced in the filter.","locations":[{"line":2,"column":17}],"path":["planets"],"extensions":{"code":"AuthorizationCheckFailed"}}] 2026-03-08T05:46:47.6418379Z 2026-03-08T05:46:47.6418459Z 2026-03-08T05:47:07.5445396Z Failed GetWithInvalidAuthorizationPolicyInSchema [2 s] 2026-03-08T05:47:07.5463080Z Error Message: 2026-03-08T05:47:07.5464624Z Assert.IsTrue failed. 2026-03-08T05:47:07.5476743Z Stack Trace: 2026-03-08T05:47:07.5499949Z at Azure.DataApiBuilder.Service.Tests.CosmosTests.QueryTests.GetWithInvalidAuthorizationPolicyInSchema() in D:\a\1\s\src\Service.Tests\CosmosTests\QueryTests.cs:line 112 2026-03-08T05:47:07.5501125Z 2026-03-08T05:47:07.5501691Z Standard Output Messages: 2026-03-08T05:47:07.5502191Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:47:07.5502767Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:47:07.5505518Z Loading config file from C:\dab-config.json. 2026-03-08T05:47:07.5507121Z Monitoring config: dab-config.json for hot-reloading. 2026-03-08T05:47:07.5512238Z Loading config file from D:\a\1\s\src\out\tests\net8.0\dab-config.CosmosDb_NoSql.json. 2026-03-08T05:47:07.5523691Z Monitoring config: dab-config.CosmosDb_NoSql.json for hot-reloading. 2026-03-08T05:47:07.5526944Z dbug: Azure.DataApiBuilder.Core.AuthenticationHelpers.ClientRoleHeaderAuthenticationMiddleware[0] 2026-03-08T05:47:07.5529762Z 2268c2ea-2a8a-4d49-8321-7c89c404bc25 AuthN state: Anonymous. Role: Anonymous. Scheme: UnauthenticatedAuthentication 2026-03-08T05:47:07.5531785Z fail: Azure.DataApiBuilder.Service.Startup[0] 2026-03-08T05:47:07.5534133Z Error code: AUTH_NOT_AUTHENTICATED 2026-03-08T05:47:07.5536038Z Error message: The current user is not authorized to access this resource. 2026-03-08T05:47:07.5538292Z GraphQL error: [{"message":"The current user is not authorized to access this resource.","locations":[{"line":3,"column":5}],"path":["invalidAuthModel_by_pk"],"extensions":{"code":"AUTH_NOT_AUTHENTICATED"}}] 2026-03-08T05:47:07.5539956Z 2026-03-08T05:47:07.5545606Z 2026-03-08T05:57:04.2878346Z Skipped CanLoadConfigWithEnvironmentVariables (/configuration) 2026-03-08T05:57:04.2880448Z Skipped CanLoadConfigWithEnvironmentVariables (/configuration/v2) 2026-03-08T05:57:04.3914600Z Results File: D:\a\_temp\VssAdministrator_runnervmzcrer_2026-03-08_05_42_15.trx 2026-03-08T05:57:04.3927424Z 2026-03-08T05:57:04.4001345Z Failed! - Failed: 20, Passed: 144, Skipped: 4, Total: 168, Duration: 14 m 48 s - Azure.DataApiBuilder.Service.Tests.dll (net8.0) 2026-03-08T05:57:04.8744710Z 2026-03-08T05:57:04.8754706Z Attachments: 2026-03-08T05:57:04.8757053Z D:\a\_temp\0dc53a84-1cf8-4c8b-beb0-17e51390b1fd\coverage.cobertura.xml 2026-03-08T05:57:05.0201313Z 2026-03-08T05:57:05.0736342Z ##[error]Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1 2026-03-08T05:57:06.9488892Z Result Attachments will be stored in LogStore 2026-03-08T05:57:06.9666444Z Run Attachments will be stored in LogStore 2026-03-08T05:57:07.0884537Z No Result Found to Publish 'D:\a\_temp\VssAdministrator_runnervmzcrer_2026-03-08_05_41_53.trx'. 2026-03-08T05:57:07.1141140Z ##[warning].NET 5 has some compatibility issues with older Nuget versions(<=5.7), so if you are using an older Nuget version(and not dotnet cli) to restore, then the dotnet cli commands (e.g. dotnet build) which rely on such restored packages might fail. To mitigate such error, you can either: (1) - Use dotnet cli to restore, (2) - Use Nuget version 5.8 to restore, (3) - Use global.json using an older sdk version(<=3) to build 2026-03-08T05:57:07.1142871Z Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions. You can learn more about the breaking changes here: https://docs.microsoft.com/en-us/dotnet/core/tools/ and https://docs.microsoft.com/en-us/dotnet/core/compatibility/ . To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting 2026-03-08T05:57:07.1144527Z ##[error]Dotnet command failed with non-zero exit code on the following projects : [ 'D:\\a\\1\\s\\src\\Service.Tests\\Azure.DataApiBuilder.Service.Tests.csproj' ] 2026-03-08T05:57:07.1209803Z ##[section]Async Command Start: Publish test results 2026-03-08T05:57:07.3129538Z Publishing test results to test run '53172'. 2026-03-08T05:57:07.3143908Z TestResults To Publish 168, Test run id:53172 2026-03-08T05:57:07.3170727Z Test results publishing 168, remaining: 0. Test run id: 53172 2026-03-08T05:57:09.1748387Z Published Test Run : https://dev.azure.com/sqldab/Data%20API%20builder%20Dependency%20Packages/_TestManagement/Runs?runId=53172&_a=runCharts 2026-03-08T05:57:09.3341754Z Flaky failed test results are opted out of pass percentage 2026-03-08T05:57:09.3569384Z ##[section]Async Command End: Publish test results 2026-03-08T05:57:09.3570832Z ##[section]Finishing: Run CosmosDb_NoSql Integration Tests