HodorNV / ALOps

ALOps
56 stars 24 forks source link

Error: A supported MIME type could not be found #615

Closed cah42 closed 11 months ago

cah42 commented 1 year ago

I am using the ALOpsExtensionAPI@1 task in an Azure DevOps ci/cd pipeline. The deploy fails with the error:

*** Get Extension status
Invoke-RestMethod -Method Get -Uri 'https://api.businesscentral.dynamics.com/v2.0/xxxxx-xxxxx-xxxxxxx-xxxxxx/sandboxX/api/microsoft/automation/v1.0/companies(xxxxx-xxxxx-xxxxxxx-xxxxxx)/extensions'
Invoke-RestMethod -Method Patch -Uri 'https://api.businesscentral.dynamics.com/v2.0/xxxxx-xxxxx-xxxxxxx-xxxxxx/sandboxX/api/microsoft/automation/v1.0/companies(xxxxx-xxxxx-xxxxxxx-xxxxxx)/extensionUpload(0)/content'
##[error]{
  "error": {
    "code": "Unknown",
    "message": "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) 'Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaTyp...' matches the content type 'application/octet-stream'."
  }
}

The failing build step:

- job: DeployTo
  dependsOn: 
  - GetParameters
  - DownloadArtifact
  strategy:
    maxParallel: 3
    matrix: $[ dependencies.GetParameters.outputs['Parameters.destinations'] ]  
  variables:
    destinations: $[ dependencies.GetParameters.outputs['Parameters.destinations'] ]  
  steps:
    - checkout: none
    - download: current
    - task: ALOpsExtensionAPI@1
      inputs:
        interaction: 'publish'
        api_endpoint: 'https://api.businesscentral.dynamics.com/v2.0/$(TenantId)/$(BCEnvironment)/api'
        dev_schemeupdatemode: 'synchronize'
        apiversion: 'v1.0'
        authentication: 'oauth'
        azure_tenant_id: '$(TenantId)'
        azure_app_client_id: '$(ClientId)'
        azure_app_client_secret: '$(Secret)'
        artifact_path: '$(Pipeline.Workspace)'
        artifact_filter: '*.app'

Pipeline powershell version: 5.1.20348.1366

ALOps version: image

BC version: image

Is it an error in my end? Do you need more information?

waldo1001 commented 1 year ago

Can you please send the entire output?

cah42 commented 1 year ago

Can you please send the entire output?

2023-03-20T07:39:44.6043517Z ##[section]Starting: ALOpsExtensionAPI
2023-03-20T07:39:44.6210601Z ==============================================================================
2023-03-20T07:39:44.6210852Z Task         : ALOps Extension API
2023-03-20T07:39:44.6210987Z Description  : Get/Publish extensions with the Business Central API
2023-03-20T07:39:44.6211185Z Version      : 1.454.3402
2023-03-20T07:39:44.6211316Z Author       : Hodor
2023-03-20T07:39:44.6211454Z Help         : Get/Publish extensions with the Business Central API.
2023-03-20T07:39:44.6211625Z ==============================================================================
2023-03-20T07:39:46.7911623Z *** Validate configuration
2023-03-20T07:39:47.1708031Z *** Task Inputs:
2023-03-20T07:39:47.1791582Z 
2023-03-20T07:39:47.1979540Z name                                                                                                              value
2023-03-20T07:39:47.1984563Z ----                                                                                                              -----
2023-03-20T07:39:47.1988467Z usedocker                                                                                                         False
2023-03-20T07:39:47.1992061Z fixed_tag                                                                                                              
2023-03-20T07:39:47.1995931Z interaction                                                                                                     publish
2023-03-20T07:39:47.2079182Z api_endpoint                          ...sscentral.dynamics.com/v2.0/------------------------------------/---------/api
2023-03-20T07:39:47.2082630Z dev_endpoint                                                                                                           
2023-03-20T07:39:47.2086503Z dev_schemeupdatemode                                                                                        synchronize
2023-03-20T07:39:47.2090573Z apiversion                                                                                                         v1.0
2023-03-20T07:39:47.2093472Z authentication                                                                                                    oauth
2023-03-20T07:39:47.2097619Z azure_tenant_id                                                                    ------------------------------------
2023-03-20T07:39:47.2101066Z azure_app_client_id                                                                ------------------------------------
2023-03-20T07:39:47.2104685Z azure_app_client_secret                                                        ----------------------------------------
2023-03-20T07:39:47.2108490Z azure_app_client_certificate                                                                                           
2023-03-20T07:39:47.2111851Z azure_app_client_certificate_password                                                                                  
2023-03-20T07:39:47.2114517Z username                                                                                                               
2023-03-20T07:39:47.2122971Z password                                                                                                               
2023-03-20T07:39:47.2135531Z bccompany                                                                                                              
2023-03-20T07:39:47.2137359Z artifact_path                                                                                                    D:\a\1
2023-03-20T07:39:47.2143110Z artifact_filter                                                                                                   *.app
2023-03-20T07:39:47.2147041Z showdeploymentstatus                                                                                               True
2023-03-20T07:39:47.2149849Z checksecondsdelay                                                                                                    30
2023-03-20T07:39:47.2154354Z maxtries                                                                                                             20
2023-03-20T07:39:47.2157806Z replacepackageid                                                                                                  False
2023-03-20T07:39:47.2161747Z blocksymbolsonly                                                                                                  False
2023-03-20T07:39:47.2162068Z 
2023-03-20T07:39:47.2197928Z 
2023-03-20T07:39:47.2237635Z 
2023-03-20T07:39:47.2479111Z *** For documentation, please visit   : https://www.alops.be/documentation
2023-03-20T07:39:47.2485976Z 
2023-03-20T07:39:47.7207597Z *** ALOps License:
2023-03-20T07:39:47.7234987Z   * Licensed To: Softværket (Project License)
2023-03-20T07:39:47.7240301Z 
2023-03-20T07:39:48.9648231Z *** Imported required PS-Functions
2023-03-20T07:39:48.9693000Z *** Parse Task Parameters
2023-03-20T07:39:49.0342543Z *** Creating API Connector with endpoint [https://api.businesscentral.dynamics.com/v2.0/------------------------------------/--------/api]
2023-03-20T07:39:49.0964155Z *** API Version: v1.0
2023-03-20T07:39:49.0990437Z *** Interaction Mode: publish
2023-03-20T07:39:49.1027330Z *** API Authentication: Using Azure OAuth Authentication [------------------------------------]
2023-03-20T07:39:49.1064746Z *** Get OAuth token for tenant [------------------------------------]
2023-03-20T07:39:49.1323650Z *** Communication: Service-2-Service (Client Secret)
2023-03-20T07:39:49.1378039Z ##[command]Invoke-RestMethod -Method Post -Uri "https://login.microsoftonline.com/------------------------------------/oauth2/token"
2023-03-20T07:39:49.2911474Z *** List Companies
2023-03-20T07:39:49.3007525Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://api.businesscentral.dynamics.com/v2.0/------------------------------------/--------/api/microsoft/automation/v1.0/companies'
2023-03-20T07:39:50.8997701Z 
2023-03-20T07:39:50.9001220Z 
2023-03-20T07:39:50.9012106Z id                : ------------------------------------
2023-03-20T07:39:50.9013825Z systemVersion     : 21.5.53619.53813
2023-03-20T07:39:50.9015779Z timestamp         : 543306
2023-03-20T07:39:50.9026031Z name              : -----------------
2023-03-20T07:39:50.9026815Z displayName       : --------
2023-03-20T07:39:50.9028319Z businessProfileId : 
2023-03-20T07:39:50.9029095Z systemCreatedAt   : 2023-02-27T12:03:33.797Z
2023-03-20T07:39:50.9029952Z systemCreatedBy   : e4e07f3f-fe58-48ba-bdef-5bd8d6135725
2023-03-20T07:39:50.9030771Z systemModifiedAt  : 2023-03-07T12:22:45.233Z
2023-03-20T07:39:50.9031573Z systemModifiedBy  : e4e07f3f-fe58-48ba-bdef-5bd8d6135725
2023-03-20T07:39:50.9032031Z 
2023-03-20T07:39:50.9041140Z 
2023-03-20T07:39:50.9041749Z 
2023-03-20T07:39:50.9080757Z *** Selected Company: ------------- [------------------------------------]
2023-03-20T07:39:50.9187191Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://api.businesscentral.dynamics.com/v2.0/-------------------------------------/---------/api/microsoft/automation/v1.0/companies(-------------------------------------)/extensions'
2023-03-20T07:39:52.1596771Z *** Installed Extensions:
2023-03-20T07:39:52.1626235Z 
2023-03-20T07:39:52.2106966Z 
2023-03-20T07:39:52.2108611Z packageId   : de4f6135-8eda-4b3b-a224-5a5a29c68ed1
2023-03-20T07:39:52.2114644Z id          : 16319982-4995-4fb1-8fb2-2b1e13773e3b
2023-03-20T07:39:52.2115510Z publisher   : Microsoft
2023-03-20T07:39:52.2116896Z displayName : AMC Banking 365 Fundamentals
2023-03-20T07:39:52.2117523Z version     : 21.5
2023-03-20T07:39:52.2118094Z 
2023-03-20T07:39:52.2118981Z packageId   : 0a746adb-8831-4b6a-9a89-c6497a814a93
2023-03-20T07:39:52.2119972Z id          : a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c
2023-03-20T07:39:52.2120548Z publisher   : Microsoft
2023-03-20T07:39:52.2121784Z displayName : API Reports - Finance
2023-03-20T07:39:52.2122362Z version     : 21.5
2023-03-20T07:39:52.2122907Z 
2023-03-20T07:39:52.2123478Z packageId   : 1b5b10b3-0610-40a2-9cde-a2a1fa02911f
2023-03-20T07:39:52.2126050Z id          : c1335042-3002-4257-bf8a-75c898ccb1b8
2023-03-20T07:39:52.2126699Z publisher   : Microsoft
2023-03-20T07:39:52.2127653Z displayName : Application
2023-03-20T07:39:52.2132269Z version     : 21.5
2023-03-20T07:39:52.2132590Z 
2023-03-20T07:39:52.2133718Z packageId   : e96aab15-bfbc-4a42-b489-e92bc3f1fd2b
2023-03-20T07:39:52.2134402Z id          : 437dbf0e-84ff-417a-965d-ed2bb9650972
2023-03-20T07:39:52.2135840Z publisher   : Microsoft
2023-03-20T07:39:52.2136419Z displayName : Base Application
2023-03-20T07:39:52.2137534Z version     : 21.5
2023-03-20T07:39:52.2137755Z 
2023-03-20T07:39:52.2138832Z packageId   : 360e5fa9-5ae0-4d09-9d2a-c5b503d50f9b
2023-03-20T07:39:52.2139550Z id          : 6992416f-3f39-4d3c-8242-3fff61350bea
2023-03-20T07:39:52.2140775Z publisher   : Microsoft
2023-03-20T07:39:52.2141414Z displayName : Business Central Cloud Migration - Previous Release
2023-03-20T07:39:52.2142343Z version     : 21.5
2023-03-20T07:39:52.2142599Z 
2023-03-20T07:39:52.2143712Z packageId   : b056b83a-c800-4a59-8971-80a5796894b7
2023-03-20T07:39:52.2144402Z id          : 57623bfa-0559-4bc2-ae1c-0979c29fc8d1
2023-03-20T07:39:52.2145564Z publisher   : Microsoft
2023-03-20T07:39:52.2146201Z displayName : Business Central Cloud Migration API
2023-03-20T07:39:52.2147310Z version     : 21.5
2023-03-20T07:39:52.2147559Z 
2023-03-20T07:39:52.2149085Z packageId   : efea033c-49eb-458e-9ed0-62bf1fe010ec
2023-03-20T07:39:52.2151074Z id          : 334ef79e-547e-4631-8ba1-7a7f18e14de6
2023-03-20T07:39:52.2152353Z publisher   : Microsoft
2023-03-20T07:39:52.2152979Z displayName : Business Central Intelligent Cloud
2023-03-20T07:39:52.2154230Z version     : 21.5
2023-03-20T07:39:52.2154481Z 
2023-03-20T07:39:52.2155572Z packageId   : bab83f24-0819-47cb-a5e8-fcf9f2f9d47e
2023-03-20T07:39:52.2156259Z id          : 3d5b2137-eeeb-4014-8489-41d37f8fd4c3
2023-03-20T07:39:52.2157460Z publisher   : Microsoft
2023-03-20T07:39:52.2158033Z displayName : C5 2012 Data Migration
2023-03-20T07:39:52.2159240Z version     : 21.5
2023-03-20T07:39:52.2159482Z 
2023-03-20T07:39:52.2160398Z packageId   : 430a6545-e1bf-4095-a70e-53dd69594cbf
2023-03-20T07:39:52.2161079Z id          : c512d720-63b9-4b26-b062-a0c09b4ed322
2023-03-20T07:39:52.2161910Z publisher   : Microsoft
2023-03-20T07:39:52.2162414Z displayName : Company Hub
2023-03-20T07:39:52.2163511Z version     : 21.5
2023-03-20T07:39:52.2163800Z 
2023-03-20T07:39:52.2164859Z packageId   : 98fba33d-5639-47a1-b4a9-0c902a850dd6
2023-03-20T07:39:52.2165535Z id          : 5a0b41e9-7a42-4123-d521-2265186cfb31
2023-03-20T07:39:52.2166738Z publisher   : Microsoft
2023-03-20T07:39:52.2167336Z displayName : Contoso Coffee Demo Dataset
2023-03-20T07:39:52.2168469Z version     : 21.5
2023-03-20T07:39:52.2168721Z 
2023-03-20T07:39:52.2169902Z packageId   : a7573fb2-e4f4-4809-ae47-8cafb9f56cc7
2023-03-20T07:39:52.2170590Z id          : 5b0b41a1-7b42-1134-a521-2265186cfb33
2023-03-20T07:39:52.2172121Z publisher   : Microsoft
2023-03-20T07:39:52.2172786Z displayName : Contoso Coffee Demo Dataset (DK)
2023-03-20T07:39:52.2173889Z version     : 21.5
2023-03-20T07:39:52.2174141Z 
2023-03-20T07:39:52.2175188Z packageId   : 49288b9a-1184-4775-bc63-a6d2eb78a453
2023-03-20T07:39:52.2175844Z id          : 7819d79d-feea-4f09-bbed-5bbaca4bf323
2023-03-20T07:39:52.2177315Z publisher   : Microsoft
2023-03-20T07:39:52.2178074Z displayName : Data Archive
2023-03-20T07:39:52.2179162Z version     : 21.5
2023-03-20T07:39:52.2179452Z 
2023-03-20T07:39:52.2179945Z packageId   : 50067feb-2e3d-4600-9a5f-46fabbb5c738
2023-03-20T07:39:52.2180619Z id          : ac14293f-1eb7-4a7b-9936-b280da31970b
2023-03-20T07:39:52.2182223Z publisher   : Microsoft
2023-03-20T07:39:52.2183826Z displayName : Data Search
2023-03-20T07:39:52.2184391Z version     : 21.5
2023-03-20T07:39:52.2184572Z 
2023-03-20T07:39:52.2185062Z packageId   : 5119d02e-838b-4316-a22e-81b35edc71bc
2023-03-20T07:39:52.2185689Z id          : 40d64215-8abc-4d96-87dc-2894e5431115
2023-03-20T07:39:52.2186466Z publisher   : Microsoft
2023-03-20T07:39:52.2186898Z displayName : DK Core
2023-03-20T07:39:52.2187329Z version     : 21.5
2023-03-20T07:39:52.2187509Z 
2023-03-20T07:39:52.2187925Z packageId   : 66e3d1cf-52af-46c4-a47a-67e5b2df4ebc
2023-03-20T07:39:52.2188469Z id          : 08d69832-9231-429e-be2c-8bab2c96905b
2023-03-20T07:39:52.2188952Z publisher   : Microsoft
2023-03-20T07:39:52.2189418Z displayName : Email - Current User Connector
2023-03-20T07:39:52.2189871Z version     : 21.5
2023-03-20T07:39:52.2190027Z 
2023-03-20T07:39:52.2190458Z packageId   : 021d004e-f0c4-4666-bc93-39684816719f
2023-03-20T07:39:52.2191003Z id          : aceb66c8-472e-437c-81d3-27e6c07d0f14
2023-03-20T07:39:52.2191459Z publisher   : Microsoft
2023-03-20T07:39:52.2191979Z displayName : Email - Microsoft 365 Connector
2023-03-20T07:39:52.2192450Z version     : 21.5
2023-03-20T07:39:52.2192625Z 
2023-03-20T07:39:52.2193094Z packageId   : e49668a1-cd59-47b2-838a-75130db90761
2023-03-20T07:39:52.2193689Z id          : e6328152-bb29-4664-9dae-3bc7eaae1fd8
2023-03-20T07:39:52.2194213Z publisher   : Microsoft
2023-03-20T07:39:52.2194695Z displayName : Email - Outlook REST API
2023-03-20T07:39:52.2195134Z version     : 21.5
2023-03-20T07:39:52.2195309Z 
2023-03-20T07:39:52.2195814Z packageId   : 110ce7b7-211f-4756-9307-e3514cb2ace1
2023-03-20T07:39:52.2197621Z id          : 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50
2023-03-20T07:39:52.2198381Z publisher   : Microsoft
2023-03-20T07:39:52.2198876Z displayName : Email - SMTP API
2023-03-20T07:39:52.2199331Z version     : 21.5
2023-03-20T07:39:52.2199507Z 
2023-03-20T07:39:52.2199986Z packageId   : f46a7a3f-dcf9-4ef7-af15-ea1eac8356e6
2023-03-20T07:39:52.2200586Z id          : 68e13fa3-217a-4be0-9141-99e5bf0ca818
2023-03-20T07:39:52.2201134Z publisher   : Microsoft
2023-03-20T07:39:52.2201625Z displayName : Email - SMTP Connector
2023-03-20T07:39:52.2202118Z version     : 21.5
2023-03-20T07:39:52.2202296Z 
2023-03-20T07:39:52.2202776Z packageId   : 322bed52-75d0-4663-a5d2-6c917e372746
2023-03-20T07:39:52.2203390Z id          : 2a89f298-7ffd-44a5-a7ce-e08dac98abce
2023-03-20T07:39:52.2203916Z publisher   : Microsoft
2023-03-20T07:39:52.2204448Z displayName : Essential Business Headlines
2023-03-20T07:39:52.2204934Z version     : 21.5
2023-03-20T07:39:52.2205115Z 
2023-03-20T07:39:52.2205612Z packageId   : 4019dc18-b6ef-43e5-a572-290eaf0a16e3
2023-03-20T07:39:52.2206226Z id          : 58623bfa-0559-4bc2-ae1c-0979c29fd9e0
2023-03-20T07:39:52.2206839Z publisher   : Microsoft
2023-03-20T07:39:52.2207326Z displayName : Intelligent Cloud Base
2023-03-20T07:39:52.2207781Z version     : 21.5
2023-03-20T07:39:52.2207940Z 
2023-03-20T07:39:52.2208400Z packageId   : 1722bbe9-6bda-4549-bca4-2ac03e24c9d1
2023-03-20T07:39:52.2208982Z id          : 70912191-3c4c-49fc-a1de-bc6ea1ac9da6
2023-03-20T07:39:52.2209464Z publisher   : Microsoft
2023-03-20T07:39:52.2209892Z displayName : Intrastat Core
2023-03-20T07:39:52.2210348Z version     : 21.5
2023-03-20T07:39:52.2210530Z 
2023-03-20T07:39:52.2211037Z packageId   : 8c6b6c73-58bb-4861-938d-375160fa3153
2023-03-20T07:39:52.2211665Z id          : 3d5b2137-efeb-4014-8489-41d37f8fd4c3
2023-03-20T07:39:52.2212209Z publisher   : Microsoft
2023-03-20T07:39:52.2212751Z displayName : Late Payment Prediction
2023-03-20T07:39:52.2213265Z version     : 21.5
2023-03-20T07:39:52.2213442Z 
2023-03-20T07:39:52.2213921Z packageId   : 6a84d0a8-1ef7-40fc-bb0d-413e0778fb29
2023-03-20T07:39:52.2214550Z id          : ac762be1-e90f-4a72-b519-612a5e3ddc2e
2023-03-20T07:39:52.2215062Z publisher   : Microsoft
2023-03-20T07:39:52.2215520Z displayName : OIOUBL
2023-03-20T07:39:52.2215949Z version     : 21.5
2023-03-20T07:39:52.2216124Z 
2023-03-20T07:39:52.2216605Z packageId   : 547af037-35f1-4174-bbf7-70ed868f615f
2023-03-20T07:39:52.2217227Z id          : 644f7e5b-a81c-408a-aaa2-766e655a80a3
2023-03-20T07:39:52.2217762Z publisher   : Microsoft
2023-03-20T07:39:52.2218310Z displayName : Payment and Reconciliation Formats (DK)
2023-03-20T07:39:52.2219060Z version     : 21.5
2023-03-20T07:39:52.2219255Z 
2023-03-20T07:39:52.2219734Z packageId   : c048f193-647c-456b-a47a-c17a67f60ec2
2023-03-20T07:39:52.2220341Z id          : d09fa965-9a2a-424d-b704-69f3b54ed0ce
2023-03-20T07:39:52.2220866Z publisher   : Microsoft
2023-03-20T07:39:52.2221344Z displayName : Payment Links to PayPal
2023-03-20T07:39:52.2221839Z version     : 21.5
2023-03-20T07:39:52.2222018Z 
2023-03-20T07:39:52.2222503Z packageId   : 1364ce23-1857-4f48-89ed-ff7da3d6dea2
2023-03-20T07:39:52.2223122Z id          : a3c8a6e2-834a-4e73-b1f1-79e76b652659
2023-03-20T07:39:52.2223649Z publisher   : Microsoft
2023-03-20T07:39:52.2224581Z displayName : Payroll Data Import Definitions (DK)
2023-03-20T07:39:52.2225120Z version     : 21.5
2023-03-20T07:39:52.2225298Z 
2023-03-20T07:39:52.2225804Z packageId   : 82424fed-388c-4116-855d-bfb0c1d73224
2023-03-20T07:39:52.2226358Z id          : a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8
2023-03-20T07:39:52.2226907Z publisher   : Microsoft
2023-03-20T07:39:52.2227376Z displayName : Recommended Apps
2023-03-20T07:39:52.2227834Z version     : 21.5
2023-03-20T07:39:52.2228011Z 
2023-03-20T07:39:52.2228489Z packageId   : 9e04fa79-013a-415c-a22b-e9f262f74545
2023-03-20T07:39:52.2229122Z id          : c526b3e9-b8ca-4683-81ba-fcd5f6b1472a
2023-03-20T07:39:52.2229632Z publisher   : Microsoft
2023-03-20T07:39:52.2230343Z displayName : Sales and Inventory Forecast
2023-03-20T07:39:52.2230839Z version     : 21.5
2023-03-20T07:39:52.2231023Z 
2023-03-20T07:39:52.2231522Z packageId   : 591439e8-4a51-49ae-8d2c-9a68a14322f5
2023-03-20T07:39:52.2232138Z id          : 8c972578-fe72-4aa5-ae51-cc5575fef2ea
2023-03-20T07:39:52.2232757Z publisher   : Microsoft
2023-03-20T07:39:52.2233244Z displayName : Send To Email Printer
2023-03-20T07:39:52.2233726Z version     : 21.5
2023-03-20T07:39:52.2233907Z 
2023-03-20T07:39:52.2234375Z packageId   : 9189d7e7-b83d-486e-a888-1315035daf91
2023-03-20T07:39:52.2235001Z id          : e2ae191d-8829-44c3-a373-3749a2742d4d
2023-03-20T07:39:52.2235528Z publisher   : Microsoft
2023-03-20T07:39:52.2236036Z displayName : Service Declaration
2023-03-20T07:39:52.2236498Z version     : 21.5
2023-03-20T07:39:52.2236675Z 
2023-03-20T07:39:52.2237156Z packageId   : 03c3873e-3210-40e6-9fea-d2f906855f3f
2023-03-20T07:39:52.2237775Z id          : ec255f57-31d0-4ca2-b751-f2fa7c745abb
2023-03-20T07:39:52.2238328Z publisher   : Microsoft
2023-03-20T07:39:52.2238786Z displayName : Shopify Connector
2023-03-20T07:39:52.2239435Z version     : 21.5
2023-03-20T07:39:52.2239615Z 
2023-03-20T07:39:52.2240110Z packageId   : dd66226c-f999-4235-a169-732be2bd257d
2023-03-20T07:39:52.2240721Z id          : 79b1a79a-2f66-4736-bc1b-8abb3537eb51
2023-03-20T07:39:52.2241251Z publisher   : Microsoft
2023-03-20T07:39:52.2241748Z displayName : Simplified Bank Statement Import
2023-03-20T07:39:52.2242269Z version     : 21.5
2023-03-20T07:39:52.2242434Z 
2023-03-20T07:39:52.2242910Z packageId   : 88ad1f1a-439c-44e0-9505-0b03f01702c8
2023-03-20T07:39:52.2243533Z id          : 63ca2fa4-4f03-4f2b-a480-172fef340d3f
2023-03-20T07:39:52.2244050Z publisher   : Microsoft
2023-03-20T07:39:52.2244530Z displayName : System Application
2023-03-20T07:39:52.2245016Z version     : 21.5
2023-03-20T07:39:52.2245195Z 
2023-03-20T07:39:52.2245682Z packageId   : fab2bbaf-8b60-435b-a23c-a8dad3fc6d19
2023-03-20T07:39:52.2246304Z id          : 2c97db9b-4aef-41e2-aa3e-03fa892c6815
2023-03-20T07:39:52.2246820Z publisher   : Microsoft
2023-03-20T07:39:52.2247321Z displayName : Tax File Formats (DK)
2023-03-20T07:39:52.2247761Z version     : 21.5
2023-03-20T07:39:52.2247943Z 
2023-03-20T07:39:52.2248422Z packageId   : 7e2085d3-205e-4766-9aed-a702d0a8922e
2023-03-20T07:39:52.2249029Z id          : 7961e9dc-a8e5-49b1-839b-3a78803a4cb8
2023-03-20T07:39:52.2249848Z publisher   : Microsoft
2023-03-20T07:39:52.2250364Z displayName : Troubleshoot FA Ledger Entries
2023-03-20T07:39:52.2250865Z version     : 21.5
2023-03-20T07:39:52.2251761Z 
2023-03-20T07:39:52.2252251Z packageId   : 95960358-2961-42db-bf84-409e01b5173c
2023-03-20T07:39:52.2252911Z id          : 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04
2023-03-20T07:39:52.2253431Z publisher   : Microsoft
2023-03-20T07:39:52.2253966Z displayName : Universal Print Integration
2023-03-20T07:39:52.2254466Z version     : 21.5
2023-03-20T07:39:52.2254649Z 
2023-03-20T07:39:52.2255148Z packageId   : 42f42087-80ae-4c5b-9a22-1d857bdd4644
2023-03-20T07:39:52.2255766Z id          : c50a4bf0-db51-4ad2-88d5-fe2287da0eb8
2023-03-20T07:39:52.2256312Z publisher   : Microsoft
2023-03-20T07:39:52.2256787Z displayName : VAT Group Management
2023-03-20T07:39:52.2257256Z version     : 21.5
2023-03-20T07:39:52.2257435Z 
2023-03-20T07:39:52.2257972Z packageId   : 2eeb0371-c2bd-4da2-9e2f-e8843f32c5a1
2023-03-20T07:39:52.2258614Z id          : bae453ed-0fd8-4416-afdc-4b09db6c12c3
2023-03-20T07:39:52.2259107Z publisher   : Microsoft
2023-03-20T07:39:52.2259621Z displayName : WorldPay Payments Standard
2023-03-20T07:39:52.2260117Z version     : 21.5
2023-03-20T07:39:52.2260287Z 
2023-03-20T07:39:52.2260779Z packageId   : -------------------------------------
2023-03-20T07:39:52.2261389Z id          : -------------------------------------
2023-03-20T07:39:52.2261965Z publisher   : -------------------------------------
2023-03-20T07:39:52.2262458Z displayName : -------------------------------------
2023-03-20T07:39:52.2262940Z version     : -------------------------------------
2023-03-20T07:39:52.2263354Z 
2023-03-20T07:39:52.2263833Z packageId   : -------------------------------------
2023-03-20T07:39:52.2264464Z id          : -------------------------------------
2023-03-20T07:39:52.2264986Z publisher   : -------------------------------------
2023-03-20T07:39:52.2265525Z displayName : -------------------------------------
2023-03-20T07:39:52.2266017Z version     : -------------------------------------
2023-03-20T07:39:52.2266195Z 
2023-03-20T07:39:52.2266673Z packageId   : -------------------------------------
2023-03-20T07:39:52.2267283Z id          : -------------------------------------
2023-03-20T07:39:52.2267871Z publisher   : -------------------------------------
2023-03-20T07:39:52.2268485Z displayName : -------------------------------------
2023-03-20T07:39:52.2268976Z version     : -------------------------------------
2023-03-20T07:39:52.2269172Z 
2023-03-20T07:39:52.2269654Z packageId   : -------------------------------------
2023-03-20T07:39:52.2270276Z id          : -------------------------------------
2023-03-20T07:39:52.2270824Z publisher   : -------------------------------------
2023-03-20T07:39:52.2271336Z displayName : -------------------------------------
2023-03-20T07:39:52.2271868Z version     : -------------------------------------
2023-03-20T07:39:52.2272046Z 
2023-03-20T07:39:52.2272175Z 
2023-03-20T07:39:52.2272351Z 
2023-03-20T07:39:52.2281971Z 
2023-03-20T07:39:52.2298901Z *** Published Extensions (not installed):
2023-03-20T07:39:52.2323106Z 
2023-03-20T07:39:52.2474291Z *** Import NAV/BC Management DLL's
2023-03-20T07:39:52.2560285Z *** ServiceTier not specified, loading default assemblies.
2023-03-20T07:39:52.2634863Z *** Default Assemblies not found. Load via BC-Artifacts
2023-03-20T07:39:52.2692528Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2023-03-20T07:39:52.2740847Z *** Check BcContainerHelper
2023-03-20T07:40:17.6007655Z *** Install BcContainerHelper
2023-03-20T07:40:36.5954989Z *** Load BcContainerHelper
2023-03-20T07:40:36.9775762Z BcContainerHelper version 4.0.14
2023-03-20T07:40:37.2905232Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-03-20T07:40:40.6858477Z 
2023-03-20T07:40:40.6859960Z ModuleType Version    Name                                ExportedCommands                                             
2023-03-20T07:40:40.6860636Z ---------- -------    ----                                ----------------                                             
2023-03-20T07:40:40.6861356Z Script     4.0.14     BcContainerHelper                   {Add-FontsToBcContainer, Add-GitToAlProjectFolder, AddTele...
2023-03-20T07:40:40.6861712Z 
2023-03-20T07:40:40.6861812Z 
2023-03-20T07:40:40.6861911Z 
2023-03-20T07:40:40.6872399Z 
2023-03-20T07:40:40.6955748Z ##[command]"Get-BCArtifactUrl" 
2023-03-20T07:40:40.6956736Z Name                           Value                                                                                   
2023-03-20T07:40:40.6957075Z ----                           -----                                                                                   
2023-03-20T07:40:40.6957546Z select                         Latest                                                                                  
2023-03-20T07:40:40.6957892Z type                           OnPrem                                                                                  
2023-03-20T07:40:40.6958232Z country                        W1                                                                                      
2023-03-20T07:40:40.6958370Z 
2023-03-20T07:40:40.6958442Z 
2023-03-20T07:40:40.6958713Z  -select: Latest -type: OnPrem -country: W1
2023-03-20T07:40:45.3372142Z Downloading application artifact /onprem/21.5.53619.53819/w1
2023-03-20T07:40:45.3393558Z https://bcartifacts.azureedge.net/onprem/21.5.53619.53819/w1
2023-03-20T07:40:45.4863839Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\c2ee3796-5691-4de3-a9e2-3bc0b1f46ef0.zip
2023-03-20T07:40:45.5104314Z Using WebClient
2023-03-20T07:40:50.5350776Z Unpacking application artifact to tmp folder using 7zip
2023-03-20T07:40:54.4051645Z Downloading platform artifact /onprem/21.5.53619.53819/platform
2023-03-20T07:40:54.4182306Z https://bcartifacts.azureedge.net/onprem/21.5.53619.53819/platform
2023-03-20T07:40:54.4268044Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\1b07d586-6a45-4354-a1eb-8f646be71782.zip
2023-03-20T07:40:54.4295497Z Using WebClient
2023-03-20T07:41:08.7824082Z Unpacking platform artifact to tmp folder using 7zip
2023-03-20T07:41:43.2259690Z Downloading Prerequisite Components
2023-03-20T07:41:43.2460456Z Downloading C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2023-03-20T07:41:43.2573212Z Using WebClient
2023-03-20T07:41:44.8202683Z Downloading C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2023-03-20T07:41:44.8222698Z Using WebClient
2023-03-20T07:41:46.0984016Z *** Platform: C:\bcartifacts.cache\onprem\21.5.53619.53819\platform
2023-03-20T07:41:46.1017680Z *** Localisation: C:\bcartifacts.cache\onprem\21.5.53619.53819\w1
2023-03-20T07:41:46.1332620Z *** BC Management DLL: C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Management.dll
2023-03-20T07:41:46.1783513Z *** BC App Management DLL: C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Apps.Management.dll
2023-03-20T07:41:46.2147694Z *** BC NCL Management DLL: C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Ncl.dll
2023-03-20T07:41:46.9768985Z *** BC Types DLL: C:\bcartifacts.cache\onprem\21.5.53619.53819\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Types.dll
2023-03-20T07:41:46.9807110Z *** Publish Extension
2023-03-20T07:41:46.9826064Z   * Artifact Path  : D:\a\1
2023-03-20T07:41:46.9872275Z   * Artifact Filter: *.app
2023-03-20T07:41:47.0461618Z *** Resolve App file in [D:\a\1]
2023-03-20T07:41:47.0614949Z *** Multiple App files found with filter [*.app].
2023-03-20T07:41:47.0648553Z   * D:\a\1\-------------------------------------_21.5_dk.app
2023-03-20T07:41:47.0661743Z   * D:\a\1\-------------------------------------_21.5_dk.app
2023-03-20T07:41:47.0678403Z *** Resolved App File: [D:\a\1\-------------------------------------_21.5_dk.app].
2023-03-20T07:41:47.0708966Z *** Resolved App Path: [D:\a\1\-------------------------------------_21.5_dk.app]
2023-03-20T07:41:47.1017255Z *** Upload extension [D:\a\1\-------------------------------------_21.5_dk.app]
2023-03-20T07:41:47.1069507Z *** Get App Info
2023-03-20T07:41:47.3523254Z  * App.PackageID = -------------------------------------
2023-03-20T07:41:47.3624380Z  * App.ID        = -------------------------------------
2023-03-20T07:41:47.3675966Z  * App.Name      = -------------------------------------
2023-03-20T07:41:47.3711808Z  * App.Publisher = -------------------------------------
2023-03-20T07:41:47.3747868Z  * App.Version   = -------------------------------------
2023-03-20T07:41:47.3864406Z *** Get Extension status
2023-03-20T07:41:47.3935138Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://api.businesscentral.dynamics.com/v2.0/-------------------------------------/---------/api/microsoft/automation/v1.0/companies(-------------------------------------)/extensions'
2023-03-20T07:41:49.2546992Z ##[command]Invoke-RestMethod -Method Patch -Uri 'https://api.businesscentral.dynamics.com/v2.0/-------------------------------------/---------/api/microsoft/automation/v1.0/companies(-------------------------------------)/extensionUpload(0)/content'
2023-03-20T07:41:50.9026107Z ##[error]{
  "error": {
    "code": "Unknown",
    "message": "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) 'Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaTyp...' matches the content type 'application/octet-stream'."
  }
}
2023-03-20T07:41:53.3031951Z ##[section]Finishing: ALOpsExtensionAPI
waldo1001 commented 1 year ago

Did you ever have a succesful pipeline / does it always fail, or just once? Did you follow the right steps to setup S2S Authentication? This is a pretty nice guide: https://www.kauffmann.nl/2021/07/06/service-to-service-authentication-in-business-central-18-3-how-to-set-up/

cah42 commented 1 year ago

Once upon a time, this task was working in a release pipeline. However, after moving it to a ci/cd YAML pipeline, it has consistently failed. Unfortunately, we no longer have access to the old release pipeline, but I am fairly confident that I have replicated the task correctly.

From the log, it appears that the authentication process is working correctly (or what?), as the system is able to interact with the BC instance and list the installed extensions. However, while the first Invoke-RestMethod -Method Get call appears to succeed, the next Invoke-RestMethod -Method Patch call fails with the error mentioned above.

Currently, I am waiting for access to this tenant so I can investigate if any configurations from your linked guide are missing. Additionally, I plan to test this on other BC instances.

I will update you soon with my findings.

cah42 commented 1 year ago

It seems that it was a problem with this specific bc instance, as two other instances worked out of the box.

Apparently the consent for the app registration in bc had gone invalid. Granting a new consent fixed the problem.

The only thing that can be derived from this, is maybe a small wish for more concise error messages :-)

acjdekorte commented 1 year ago

We are running into the same issue for a OnPrem installation of BC22 (using AlOps) with userpassword.

2023-04-24T06:02:51.4271589Z ##[section]Starting: Batch Publish
2023-04-24T06:02:51.4387619Z ==============================================================================
2023-04-24T06:02:51.4387774Z Task         : ALOps Extension API
2023-04-24T06:02:51.4387873Z Description  : Get/Publish extensions with the Business Central API
2023-04-24T06:02:51.4387988Z Version      : 1.455.3607
2023-04-24T06:02:51.4388063Z Author       : Hodor
2023-04-24T06:02:51.4388168Z Help         : Get/Publish extensions with the Business Central API.
2023-04-24T06:02:51.4388277Z ==============================================================================
2023-04-24T06:02:52.3965184Z *** Validate configuration
2023-04-24T06:02:52.8279000Z *** Task Inputs:
2023-04-24T06:02:52.8326653Z 
2023-04-24T06:02:52.8403404Z name                                                                                            value
2023-04-24T06:02:52.8404574Z ----                                                                                            -----
2023-04-24T06:02:52.8405412Z usedocker                                                                                       False
2023-04-24T06:02:52.8406415Z fixed_tag                                                                                            
2023-04-24T06:02:52.8407613Z interaction                                                                                     batch
2023-04-24T06:02:52.8408684Z api_endpoint                          https://awlunite.agriwareonline.com:22248/BC220_PipelineDEV/api
2023-04-24T06:02:52.8409801Z dev_endpoint                                                                                         
2023-04-24T06:02:52.8411557Z dev_schemeupdatemode                                                                      synchronize
2023-04-24T06:02:52.8413435Z apiversion                                                                                       v1.0
2023-04-24T06:02:52.8414132Z authentication                                                                       usernamepassword
2023-04-24T06:02:52.8415383Z azure_tenant_id                                                                                      
2023-04-24T06:02:52.8416373Z azure_app_client_id                                                                                  
2023-04-24T06:02:52.8417557Z azure_app_client_secret                                                                              
2023-04-24T06:02:52.8418620Z azure_app_client_certificate                                                                         
2023-04-24T06:02:52.8419559Z azure_app_client_certificate_password                                                                
2023-04-24T06:02:52.8421639Z username                                                                                   *****
2023-04-24T06:02:52.8422857Z password                                                                             ***
2023-04-24T06:02:52.8423797Z bccompany                                                        521016f5-8914-4614-89b7-006457b4c3b6
2023-04-24T06:02:52.8424841Z artifact_path                                                                               D:\a\r1\a
2023-04-24T06:02:52.8425940Z artifact_filter                                                                                 *.app
2023-04-24T06:02:52.8427034Z showdeploymentstatus                                                                             True
2023-04-24T06:02:52.8428136Z checksecondsdelay                                                                                  30
2023-04-24T06:02:52.8429180Z maxtries                                                                                           20
2023-04-24T06:02:52.8430329Z replacepackageid                                                                                False
2023-04-24T06:02:52.8431834Z blocksymbolsonly                                                                                False
2023-04-24T06:02:52.8433502Z 
2023-04-24T06:02:52.8455053Z 
2023-04-24T06:02:52.8465341Z 
2023-04-24T06:02:52.8694753Z *** For documentation, please visit   : https://www.alops.be/documentation
2023-04-24T06:02:52.8699403Z 
2023-04-24T06:02:53.3901440Z *** ALOps License:
2023-04-24T06:02:53.3924774Z   * Licensed To: ******* (4x RepositoryPer5 License)
2023-04-24T06:02:53.3929306Z 
2023-04-24T06:02:53.4698593Z *** Imported required PS-Functions
2023-04-24T06:02:53.4714631Z *** Parse Task Parameters
2023-04-24T06:02:53.6348776Z *** Creating API Connector with endpoint [https://awlunite.agriwareonline.com:22248/BC220_PipelineDEV/api]
2023-04-24T06:02:53.6705549Z *** API Version: v1.0
2023-04-24T06:02:53.6726035Z *** Interaction Mode: batch
2023-04-24T06:02:53.6754178Z *** API Authentication: Using Username/Password Authentication [********]
2023-04-24T06:02:53.6907967Z *** List Companies
2023-04-24T06:02:53.6993151Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://awlunite.agriwareonline.com:22248/bc220_pipelinedev/api/microsoft/automation/v1.0/companies'
2023-04-24T06:02:54.0934443Z 
2023-04-24T06:02:54.1001357Z 
2023-04-24T06:02:54.1003001Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1121134Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1121920Z timestamp         : 1106024178
2023-04-24T06:02:54.1122485Z name              : Agriware Testbedrijf - BREED
2023-04-24T06:02:54.1123021Z displayName       : Agriware Testbedrijf - BREED
2023-04-24T06:02:54.1123551Z businessProfileId : 
2023-04-24T06:02:54.1124132Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1124679Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1125256Z systemModifiedAt  : 2022-04-13T14:40:33.613Z
2023-04-24T06:02:54.1125811Z systemModifiedBy  : 287cb14b-2b24-45d7-9e64-12e59b6a5e55
2023-04-24T06:02:54.1126260Z 
2023-04-24T06:02:54.1126817Z id                : 521016f5-8914-4614-89b7-006457b4c3b6
2023-04-24T06:02:54.1127539Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1128059Z timestamp         : 1114670030
2023-04-24T06:02:54.1128582Z name              : Agriware Testbedrijf - CUTTING
2023-04-24T06:02:54.1129123Z displayName       : Agriware Testbedrijf - CUTTING
2023-04-24T06:02:54.1129640Z businessProfileId : 
2023-04-24T06:02:54.1130171Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1130712Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1131261Z systemModifiedAt  : 2022-11-10T10:40:02.207Z
2023-04-24T06:02:54.1200563Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1228204Z 
2023-04-24T06:02:54.1229370Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1229984Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1230505Z timestamp         : 1114670035
2023-04-24T06:02:54.1235301Z name              : Agriware Testbedrijf - HORTI
2023-04-24T06:02:54.1242633Z displayName       : Agriware Testbedrijf - HORTI
2023-04-24T06:02:54.1243966Z businessProfileId : 
2023-04-24T06:02:54.1244484Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1244953Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1245418Z systemModifiedAt  : 2022-11-10T10:40:22.523Z
2023-04-24T06:02:54.1245933Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1246250Z 
2023-04-24T06:02:54.1246695Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1247131Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1247568Z timestamp         : 1114670036
2023-04-24T06:02:54.1247981Z name              : Agriware Testbedrijf - LAB
2023-04-24T06:02:54.1248416Z displayName       : Agriware Testbedrijf - LAB
2023-04-24T06:02:54.1248837Z businessProfileId : 
2023-04-24T06:02:54.1249260Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1249718Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1250239Z systemModifiedAt  : 2022-11-10T10:40:28.417Z
2023-04-24T06:02:54.1251613Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1251888Z 
2023-04-24T06:02:54.1252294Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1252732Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1253155Z timestamp         : 1114670039
2023-04-24T06:02:54.1253569Z name              : Agriware Testbedrijf - PERFORM
2023-04-24T06:02:54.1254008Z displayName       : Agriware Testbedrijf - PERFORM
2023-04-24T06:02:54.1254440Z businessProfileId : 
2023-04-24T06:02:54.1254861Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1255335Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1255822Z systemModifiedAt  : 2022-11-10T10:40:36.52Z
2023-04-24T06:02:54.1256276Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1256528Z 
2023-04-24T06:02:54.1256941Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1257353Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1257768Z timestamp         : 1079675445
2023-04-24T06:02:54.1258184Z name              : Agriware Testbedrijf - PHALAEN
2023-04-24T06:02:54.1258600Z displayName       : Agriware Testbedrijf - PHALAEN
2023-04-24T06:02:54.1259015Z businessProfileId : 
2023-04-24T06:02:54.1259439Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1259875Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1260364Z systemModifiedAt  : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1260824Z systemModifiedBy  : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1261092Z 
2023-04-24T06:02:54.1261507Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1261921Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1262334Z timestamp         : 1114670070
2023-04-24T06:02:54.1262747Z name              : Agriware Testbedrijf - SEED
2023-04-24T06:02:54.1263154Z displayName       : Agriware Testbedrijf - SEED
2023-04-24T06:02:54.1263569Z businessProfileId : 
2023-04-24T06:02:54.1263992Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1264427Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1264872Z systemModifiedAt  : 2022-11-10T10:40:43.657Z
2023-04-24T06:02:54.1265323Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1265576Z 
2023-04-24T06:02:54.1265989Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1266578Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1267017Z timestamp         : 1115863741
2023-04-24T06:02:54.1267438Z name              : Agriware Testbedrijf - VEGETAB
2023-04-24T06:02:54.1267864Z displayName       : Operations and Analytics TEST [VEGETAB]
2023-04-24T06:02:54.1268287Z businessProfileId : 
2023-04-24T06:02:54.1268709Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1269143Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1269595Z systemModifiedAt  : 2022-11-21T09:19:48.47Z
2023-04-24T06:02:54.1270049Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1270298Z 
2023-04-24T06:02:54.1270712Z id                : 495cca2a-181a-4fa2-8b3d-fd4527638460
2023-04-24T06:02:54.1271137Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1271536Z timestamp         : 984695725
2023-04-24T06:02:54.1271949Z name              : Agriware Testbedrijf BLANCO
2023-04-24T06:02:54.1272366Z displayName       : Agriware Testbedrijf BLANCO
2023-04-24T06:02:54.1272785Z businessProfileId : 
2023-04-24T06:02:54.1273235Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1273667Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1274113Z systemModifiedAt  : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1275333Z systemModifiedBy  : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1275599Z 
2023-04-24T06:02:54.1276013Z id                : abc25acb-a13b-4111-ac0b-ffffa2410eca
2023-04-24T06:02:54.1276543Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1276971Z timestamp         : 1006902232
2023-04-24T06:02:54.1277342Z name              : Agriware Testbedrijf -CANNABIS
2023-04-24T06:02:54.1277679Z displayName       : Agriware Testbedrijf -CANNABIS
2023-04-24T06:02:54.1278006Z businessProfileId : 
2023-04-24T06:02:54.1278347Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1278693Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1279060Z systemModifiedAt  : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1279411Z systemModifiedBy  : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1279610Z 
2023-04-24T06:02:54.1279930Z id                : 52f41586-15b9-ed11-8712-00155d213f3a
2023-04-24T06:02:54.1280257Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1280582Z timestamp         : 1135125536
2023-04-24T06:02:54.1280902Z name              : CD - Royal van Zanten
2023-04-24T06:02:54.1281219Z displayName       : CD - Royal van Zanten
2023-04-24T06:02:54.1281544Z businessProfileId : 
2023-04-24T06:02:54.1281883Z systemCreatedAt   : 2023-03-02T16:16:06.577Z
2023-04-24T06:02:54.1282234Z systemCreatedBy   : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1282599Z systemModifiedAt  : 2023-03-02T16:28:28.4Z
2023-04-24T06:02:54.1282964Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1283149Z 
2023-04-24T06:02:54.1283470Z id                : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1283802Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1284127Z timestamp         : 1114670129
2023-04-24T06:02:54.1284479Z name              : Mprise Indigo std. Testbedrijf
2023-04-24T06:02:54.1284842Z displayName       : Mprise Indigo std. Testbedrijf
2023-04-24T06:02:54.1285180Z businessProfileId : 
2023-04-24T06:02:54.1285507Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1285871Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1286236Z systemModifiedAt  : 2022-11-10T10:40:58.62Z
2023-04-24T06:02:54.1286593Z systemModifiedBy  : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1286795Z 
2023-04-24T06:02:54.1287098Z id                : f043f774-efa6-ed11-870e-00155d213f3a
2023-04-24T06:02:54.1287442Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1287770Z timestamp         : 1154391333
2023-04-24T06:02:54.1288072Z name              : OP-DEV
2023-04-24T06:02:54.1288391Z displayName       : Operations DEV
2023-04-24T06:02:54.1288827Z businessProfileId : 
2023-04-24T06:02:54.1289157Z systemCreatedAt   : 2023-02-07T13:58:14.107Z
2023-04-24T06:02:54.1289526Z systemCreatedBy   : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1289891Z systemModifiedAt  : 2023-04-22T16:04:53.647Z
2023-04-24T06:02:54.1290244Z systemModifiedBy  : 059eb792-d91a-4715-a7b3-31c1e1f0c208
2023-04-24T06:02:54.1290443Z 
2023-04-24T06:02:54.1290747Z id                : 40a38aef-efa6-ed11-870e-00155d213f3a
2023-04-24T06:02:54.1291091Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1291423Z timestamp         : 1154391329
2023-04-24T06:02:54.1291723Z name              : OP-QA
2023-04-24T06:02:54.1292111Z displayName       : Operations QA
2023-04-24T06:02:54.1292435Z businessProfileId : 
2023-04-24T06:02:54.1292764Z systemCreatedAt   : 2023-02-07T14:01:37.457Z
2023-04-24T06:02:54.1293129Z systemCreatedBy   : db1b2e80-bb30-4d2d-aa11-94017c621f5c
2023-04-24T06:02:54.1293493Z systemModifiedAt  : 2023-04-22T16:04:46.827Z
2023-04-24T06:02:54.1293850Z systemModifiedBy  : 059eb792-d91a-4715-a7b3-31c1e1f0c208
2023-04-24T06:02:54.1294048Z 
2023-04-24T06:02:54.1294362Z id                : c3012f3f-05e1-ed11-871b-00155d213f3a
2023-04-24T06:02:54.1294691Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1295037Z timestamp         : 1154391339
2023-04-24T06:02:54.1295341Z name              : OP-TEMPLATE
2023-04-24T06:02:54.1295682Z displayName       : Operations Template (YOU SHALL NOT USE!)
2023-04-24T06:02:54.1296023Z businessProfileId : 
2023-04-24T06:02:54.1296429Z systemCreatedAt   : 2023-04-22T12:00:17.95Z
2023-04-24T06:02:54.1296794Z systemCreatedBy   : 00000000-0000-0000-0000-000000000001
2023-04-24T06:02:54.1297160Z systemModifiedAt  : 2023-04-22T16:05:19.187Z
2023-04-24T06:02:54.1297514Z systemModifiedBy  : 059eb792-d91a-4715-a7b3-31c1e1f0c208
2023-04-24T06:02:54.1297714Z 
2023-04-24T06:02:54.1298031Z id                : a0a4a5d1-cba1-4baa-a8b4-a3b17ca10225
2023-04-24T06:02:54.1298366Z systemVersion     : 22.0.54157.54635
2023-04-24T06:02:54.1298694Z timestamp         : 987663091
2023-04-24T06:02:54.1299007Z name              : RapidStart Setup Company
2023-04-24T06:02:54.1299346Z displayName       : RapidStart Setup Company
2023-04-24T06:02:54.1299672Z businessProfileId : 
2023-04-24T06:02:54.1300019Z systemCreatedAt   : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1300379Z systemCreatedBy   : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1300742Z systemModifiedAt  : 0001-01-01T00:00:00Z
2023-04-24T06:02:54.1301094Z systemModifiedBy  : 00000000-0000-0000-0000-000000000000
2023-04-24T06:02:54.1301295Z 
2023-04-24T06:02:54.1301457Z 
2023-04-24T06:02:54.1301602Z 
2023-04-24T06:02:54.1301942Z *** Determine Company with filter [521016f5-8914-4614-89b7-006457b4c3b6]
2023-04-24T06:02:54.1302336Z *** Selected Company: Agriware Testbedrijf - CUTTING [521016f5-8914-4614-89b7-006457b4c3b6]
2023-04-24T06:02:54.1302940Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://awlunite.agriwareonline.com:22248/bc220_pipelinedev/api/microsoft/automation/v1.0/companies(521016f5-8914-4614-89b7-006457b4c3b6)/extensions'
2023-04-24T06:02:54.5545095Z ##[error]Exception in BCConnector.GetAPIData: {"error":{"code":"Unknown","message":"An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000  CorrelationId:  2810284d-dc55-495b-91b1-99e06574e436."}}
2023-04-24T06:02:54.5746052Z *** Installed Extensions:
2023-04-24T06:02:54.5760535Z 
2023-04-24T06:02:54.5769544Z *** Published Extensions (not installed):
2023-04-24T06:02:54.5779680Z 
2023-04-24T06:02:54.5934846Z *** Import NAV/BC Management DLL's [False]
2023-04-24T06:02:54.6515339Z *** ServiceTier not specified, loading default assemblies.
2023-04-24T06:02:54.6604104Z *** Default Assemblies not found. Load via BC-Artifacts
2023-04-24T06:02:54.6886884Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2023-04-24T06:02:54.6936920Z *** Check BcContainerHelper
2023-04-24T06:04:23.9210149Z *** Install BcContainerHelper
2023-04-24T06:04:41.3116012Z *** Load BcContainerHelper
2023-04-24T06:04:41.6662553Z BcContainerHelper version 4.0.16
2023-04-24T06:04:42.0618017Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-04-24T06:04:44.1353745Z 
2023-04-24T06:04:44.1354724Z ModuleType Version    Name                                ExportedCommands                                             
2023-04-24T06:04:44.1355580Z ---------- -------    ----                                ----------------                                             
2023-04-24T06:04:44.1356012Z Script     4.0.16     BcContainerHelper                   {Add-FontsToBcContainer, Add-GitToAlProjectFolder, AddTele...
2023-04-24T06:04:44.1356141Z 
2023-04-24T06:04:44.1356221Z 
2023-04-24T06:04:44.1356300Z 
2023-04-24T06:04:44.1360969Z 
2023-04-24T06:04:44.1380974Z ##[command]"Get-BCArtifactUrl" 
2023-04-24T06:04:44.1381290Z Name                           Value                                                                                   
2023-04-24T06:04:44.1384106Z ----                           -----                                                                                   
2023-04-24T06:04:44.1384554Z select                         Latest                                                                                  
2023-04-24T06:04:44.1384942Z type                           OnPrem                                                                                  
2023-04-24T06:04:44.1385309Z country                        W1                                                                                      
2023-04-24T06:04:44.1386475Z 
2023-04-24T06:04:44.1386641Z 
2023-04-24T06:04:44.1387074Z  -select: Latest -type: OnPrem -country: W1
2023-04-24T06:04:47.3878232Z Downloading application artifact /onprem/22.0.54157.55195/w1
2023-04-24T06:04:47.4039988Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\57f52352-90cd-47e4-9e2a-684095ad5d80.zip
2023-04-24T06:04:47.4132283Z Downloading using WebClient
2023-04-24T06:05:12.7832540Z Unpacking application artifact to tmp folder using 7zip
2023-04-24T06:05:16.1924051Z Downloading platform artifact /onprem/22.0.54157.55195/platform
2023-04-24T06:05:16.1935783Z https://bcartifacts.azureedge.net/onprem/22.0.54157.55195/platform
2023-04-24T06:05:16.1964091Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\351390e9-e45f-47b0-8856-70addfb9844c.zip
2023-04-24T06:05:16.1974062Z Downloading using WebClient
2023-04-24T06:06:38.5593781Z Unpacking platform artifact to tmp folder using 7zip
2023-04-24T06:07:07.7441385Z Downloading Prerequisite Components
2023-04-24T06:07:07.7552844Z Downloading C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2023-04-24T06:07:07.7562725Z Downloading using WebClient
2023-04-24T06:07:09.5494594Z Downloading C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2023-04-24T06:07:09.5503503Z Downloading using WebClient
2023-04-24T06:07:10.9425478Z *** Platform: C:\bcartifacts.cache\onprem\22.0.54157.55195\platform
2023-04-24T06:07:10.9455255Z *** Localisation: C:\bcartifacts.cache\onprem\22.0.54157.55195\w1
2023-04-24T06:07:11.0270175Z *** BC Management DLL: C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Management.dll
2023-04-24T06:07:11.0367103Z *** Selected module: [C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
2023-04-24T06:07:11.0374999Z *** Loading module: [C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
2023-04-24T06:07:11.1408417Z *** BC App Management DLL: C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Apps.Management.dll
2023-04-24T06:07:11.1427503Z *** Selected module: [C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Apps.Management.dll]
2023-04-24T06:07:11.1435274Z *** Loading module: [C:\bcartifacts.cache\onprem\22.0.54157.55195\platform\ServiceTier\program files\Microsoft Dynamics NAV\220\Service\Management\Microsoft.Dynamics.Nav.Apps.Management.dll]
2023-04-24T06:07:11.1628793Z *** Batch Publish Extensions
2023-04-24T06:07:11.1636788Z   * Artifact Path  : D:\a\r1\a
2023-04-24T06:07:11.1799871Z *** Resolved Path  : D:\a\r1\a
2023-04-24T06:07:11.1807867Z *** Get Available Applications from [D:\a\r1\a].
2023-04-24T06:07:11.1971083Z *** Get [*.app] files recursive from [D:\a\r1\a]
2023-04-24T06:07:11.2112038Z *** Found [52] files.
2023-04-24T06:07:11.2119863Z *** Extract App detail from [D:\a\r1\a\_agriware-advanceprepayments-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Advanced Prepayments_22.0.0.79907_APP.app]
2023-04-24T06:07:12.0557331Z *** Extract App detail from [D:\a\r1\a\_agriware-advanceprepayments-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.1008109Z *** Extract App detail from [D:\a\r1\a\_agriware-api-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Business Essentials Connector_22.0.0.79904_APP.app]
2023-04-24T06:07:12.1051820Z *** Extract App detail from [D:\a\r1\a\_agriware-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.1458205Z *** Extract App detail from [D:\a\r1\a\_agriware-ebf-fdy-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 E-Business Floriculture NL_22.0.0.79905_APP.app]
2023-04-24T06:07:12.1751899Z *** Extract App detail from [D:\a\r1\a\_agriware-ebf-fdy-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.2145159Z *** Extract App detail from [D:\a\r1\a\_agriware-licensecontract-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 License Contracts_22.0.0.79909_APP.app]
2023-04-24T06:07:12.2171467Z *** Extract App detail from [D:\a\r1\a\_agriware-licensecontract-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.2568802Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-api-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Loading Connector_22.0.0.79912_APP.app]
2023-04-24T06:07:12.2593334Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.3081263Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials Connector_22.0.0.79904_APP.app]
2023-04-24T06:07:12.3126992Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Loading_22.0.0.79791_APP.app]
2023-04-24T06:07:12.3165512Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Loading_22.0.0.79910_APP.app]
2023-04-24T06:07:12.3202250Z *** Extract App detail from [D:\a\r1\a\_agriware-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.3688519Z *** Extract App detail from [D:\a\r1\a\_agriware-logisticsconnector-bc22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Logistics Connector - MES Integration_22.0.0.79906_APP.app]
2023-04-24T06:07:12.3730459Z *** Extract App detail from [D:\a\r1\a\_agriware-logisticsconnector-bc22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.4212872Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-api-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Pick & Pack Connector_22.0.0.79916_APP.app]
2023-04-24T06:07:12.4281521Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.4667408Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials Connector_22.0.0.79904_APP.app]
2023-04-24T06:07:12.4719544Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Pick & Pack_22.0.0.79908_APP.app]
2023-04-24T06:07:12.4780566Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Pick & Pack_22.0.0.79908_APP.app]
2023-04-24T06:07:12.4836540Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.5279113Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Pick & Pack Integration for Loading Connector_22.0.0.79920_APP.app]
2023-04-24T06:07:12.5301426Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.5731923Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials Connector_22.0.0.79904_APP.app]
2023-04-24T06:07:12.5779080Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Loading Connector_22.0.0.79912_APP.app]
2023-04-24T06:07:12.5802617Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Loading_22.0.0.79910_APP.app]
2023-04-24T06:07:12.5841472Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Pick & Pack Connector_22.0.0.79916_APP.app]
2023-04-24T06:07:12.5865636Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Pick & Pack Integration for Loading_22.0.0.79917_APP.app]
2023-04-24T06:07:12.5889167Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-api-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Pick & Pack_22.0.0.79908_APP.app]
2023-04-24T06:07:12.5945389Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Pick & Pack Integration for Loading_22.0.0.79917_APP.app]
2023-04-24T06:07:12.5968115Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:12.9054926Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Loading_22.0.0.79910_APP.app]
2023-04-24T06:07:12.9093012Z *** Extract App detail from [D:\a\r1\a\_agriware-pickpack-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Pick & Pack_22.0.0.79908_APP.app]
2023-04-24T06:07:12.9144008Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._ForNAV Report Pack for Agriware 365 Business Essentials_22.0.0.79903_APP.app]
2023-04-24T06:07:12.9163278Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.77890_APP.app]
2023-04-24T06:07:12.9554198Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.77924_APP.app]
2023-04-24T06:07:12.9954160Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78060_APP.app]
2023-04-24T06:07:13.0350160Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78183_APP.app]
2023-04-24T06:07:13.0735577Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78303_APP.app]
2023-04-24T06:07:13.1516636Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78640_APP.app]
2023-04-24T06:07:13.1907744Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78743_APP.app]
2023-04-24T06:07:13.2300007Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78848_APP.app]
2023-04-24T06:07:13.2696326Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.78931_APP.app]
2023-04-24T06:07:13.3086736Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79051_APP.app]
2023-04-24T06:07:13.3824353Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79345_APP.app]
2023-04-24T06:07:13.4225369Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79487_APP.app]
2023-04-24T06:07:13.4632227Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79595_APP.app]
2023-04-24T06:07:13.5038914Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79649_APP.app]
2023-04-24T06:07:13.5769292Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79783_APP.app]
2023-04-24T06:07:13.6158666Z *** Extract App detail from [D:\a\r1\a\_agriware-reports-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:13.6560097Z *** Extract App detail from [D:\a\r1\a\_agriware-w1-BC22dev\AgriwareDevelopment\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:13.7040630Z *** Remove duplicate Apps
2023-04-24T06:07:13.7237174Z   * Mprise Agriware B.V. Agriware 365 Loading v22.0.0.79791
2023-04-24T06:07:13.7507066Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.77890
2023-04-24T06:07:13.7523987Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.77924
2023-04-24T06:07:13.7547391Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78060
2023-04-24T06:07:13.7550510Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78183
2023-04-24T06:07:13.7570176Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78303
2023-04-24T06:07:13.7587769Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78640
2023-04-24T06:07:13.7605480Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78743
2023-04-24T06:07:13.7622984Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78848
2023-04-24T06:07:13.7640670Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.78931
2023-04-24T06:07:13.7658431Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79051
2023-04-24T06:07:13.7676223Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79345
2023-04-24T06:07:13.7693741Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79487
2023-04-24T06:07:13.7711494Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79595
2023-04-24T06:07:13.7728938Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79649
2023-04-24T06:07:13.7746465Z   * Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture v22.0.0.79783
2023-04-24T06:07:20.7361616Z *** Installing Applications:
2023-04-24T06:07:20.7414122Z 
2023-04-24T06:07:20.7414834Z Publisher            Name                                                       Path                                   
2023-04-24T06:07:20.7415389Z ---------            ----                                                       ----                                   
2023-04-24T06:07:20.7415873Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-loading-BC22dev\...
2023-04-24T06:07:20.7416357Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-loading-api-BC22...
2023-04-24T06:07:20.7419735Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7420424Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-logisticsconnect...
2023-04-24T06:07:20.7421003Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-pickpack-BC22dev...
2023-04-24T06:07:20.7421602Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7422208Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-pickpack-api-BC2...
2023-04-24T06:07:20.7422771Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-licensecontract-...
2023-04-24T06:07:20.7423372Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-advanceprepaymen...
2023-04-24T06:07:20.7423981Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-reports-BC22dev\...
2023-04-24T06:07:20.7424539Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-api-BC22dev\Tech...
2023-04-24T06:07:20.7425141Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-w1-BC22dev\Agriw...
2023-04-24T06:07:20.7425752Z Mprise Agriware B.V. Agriware 365 Business Essentials - ERP for Horticulture    D:\a\r1\a\_agriware-ebf-fdy-BC22dev\...
2023-04-24T06:07:20.7426326Z Mprise Agriware B.V. Agriware 365 Loading                                       D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7427113Z Mprise Agriware B.V. Agriware 365 Loading                                       D:\a\r1\a\_agriware-loading-BC22dev\...
2023-04-24T06:07:20.7427675Z Mprise Agriware B.V. Agriware 365 Loading                                       D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7428227Z Mprise Agriware B.V. Agriware 365 Pick & Pack                                   D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7428758Z Mprise Agriware B.V. Agriware 365 Business Essentials Connector                 D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7429337Z Mprise Agriware B.V. Agriware 365 Pick & Pack                                   D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7429896Z Mprise Agriware B.V. Agriware 365 Pick & Pack                                   D:\a\r1\a\_agriware-pickpack-BC22dev...
2023-04-24T06:07:20.7430463Z Mprise Agriware B.V. Agriware 365 Business Essentials Connector                 D:\a\r1\a\_agriware-pickpack-api-BC2...
2023-04-24T06:07:20.7431014Z Mprise Agriware B.V. Agriware 365 Business Essentials Connector                 D:\a\r1\a\_agriware-loading-api-BC22...
2023-04-24T06:07:20.7431589Z Mprise Agriware B.V. Agriware 365 Pick & Pack                                   D:\a\r1\a\_agriware-pickpack-api-BC2...
2023-04-24T06:07:20.7432158Z Mprise Agriware B.V. Agriware 365 Business Essentials Connector                 D:\a\r1\a\_agriware-api-BC22dev\Agri...
2023-04-24T06:07:20.7432817Z Mprise Agriware B.V. Agriware 365 Pick & Pack Integration for Loading           D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7433400Z Mprise Agriware B.V. Agriware 365 Loading Connector                             D:\a\r1\a\_agriware-loading-api-BC22...
2023-04-24T06:07:20.7433972Z Mprise Agriware B.V. Agriware 365 Pick & Pack Integration for Loading           D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7434497Z Mprise Agriware B.V. Agriware 365 Loading Connector                             D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7435135Z Mprise Agriware B.V. ForNAV Report Pack for Agriware 365 Business Essentials    D:\a\r1\a\_agriware-reports-BC22dev\...
2023-04-24T06:07:20.7435732Z Mprise Agriware B.V. Agriware 365 E-Business Floriculture NL                    D:\a\r1\a\_agriware-ebf-fdy-BC22dev\...
2023-04-24T06:07:20.7436829Z Mprise Agriware B.V. Agriware 365 Pick & Pack Integration for Loading Connector D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7437300Z Mprise Agriware B.V. Agriware 365 Advanced Prepayments                          D:\a\r1\a\_agriware-advanceprepaymen...
2023-04-24T06:07:20.7438072Z Mprise Agriware B.V. Agriware 365 Logistics Connector - MES Integration         D:\a\r1\a\_agriware-logisticsconnect...
2023-04-24T06:07:20.7438747Z Mprise Agriware B.V. Agriware 365 Pick & Pack Connector                         D:\a\r1\a\_agriware-pickpack-loading...
2023-04-24T06:07:20.7439262Z Mprise Agriware B.V. Agriware 365 License Contracts                             D:\a\r1\a\_agriware-licensecontract-...
2023-04-24T06:07:20.7439826Z Mprise Agriware B.V. Agriware 365 Pick & Pack Connector                         D:\a\r1\a\_agriware-pickpack-api-BC2...
2023-04-24T06:07:20.7440210Z 
2023-04-24T06:07:20.7440453Z 
2023-04-24T06:07:20.7440545Z 
2023-04-24T06:07:20.7442935Z *** Publish App [D:\a\r1\a\_agriware-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:20.7589249Z *** Upload extension [D:\a\r1\a\_agriware-loading-BC22dev\Technical\.alpackages\Mprise Agriware B.V._Agriware 365 Business Essentials - ERP for Horticulture_22.0.0.79902_APP.app]
2023-04-24T06:07:20.7602082Z *** Get App Info
2023-04-24T06:07:20.8045510Z  * App.PackageID = 4f0c5c99-c23f-40ac-be18-43dca215e2e7
2023-04-24T06:07:20.8075163Z  * App.ID        = 41602dbb-b7fe-4ce5-9eb9-0783dda7f345
2023-04-24T06:07:20.8083410Z  * App.Name      = Agriware 365 Business Essentials - ERP for Horticulture
2023-04-24T06:07:20.8090210Z  * App.Publisher = Mprise Agriware B.V.
2023-04-24T06:07:20.8097127Z  * App.Version   = 22.0.0.79902
2023-04-24T06:07:20.8158738Z *** Get Extension status
2023-04-24T06:07:20.8189847Z ##[command]Invoke-RestMethod -Method Get -Uri 'https://awlunite.agriwareonline.com:22248/bc220_pipelinedev/api/microsoft/automation/v1.0/companies(521016f5-8914-4614-89b7-006457b4c3b6)/extensions'
2023-04-24T06:07:21.0267627Z ##[error]Exception in BCConnector.GetAPIData: {"error":{"code":"Unknown","message":"An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000  CorrelationId:  c7af88d3-8521-4273-9979-99a534291d77."}}
2023-04-24T06:07:21.0541250Z ##[command]Invoke-RestMethod -Method Patch -Uri 'https://awlunite.agriwareonline.com:22248/bc220_pipelinedev/api/microsoft/automation/v1.0/companies(521016f5-8914-4614-89b7-006457b4c3b6)/extensionUpload(0)/content'
2023-04-24T06:07:21.6612379Z ##[error]{
  "error": {
    "code": "Unknown",
    "message": "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) 'Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaType, Microsoft.OData.ODataMediaTyp...' matches the content type 'application/octet-stream'."
  }
}
2023-04-24T06:07:21.7287346Z ##[section]Finishing: Batch Publish
cah42 commented 1 year ago

One thing to check is in the AAD application registration, where this set of usergroups seems to work: image I just saw this exact error caused by missing one of them.

acjdekorte commented 1 year ago

Unfortunately that does not make the difference.

acjdekorte commented 1 year ago

@waldo1001 Any suggestions what I can check further?

cah42 commented 1 year ago

I suggest you create a new issue, for increased visibility of your problem.

waldo1001 commented 1 year ago

The only thing that can be derived from this, is maybe a small wish for more concise error messages :-)

Well - not really. We can only return the error that the server returns. We can't make assumptions and reformulate errors, can we?

waldo1001 commented 1 year ago

[error]Exception in BCConnector.GetAPIData: {"error":{"code":"Unknown","message":"An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000 CorrelationId: c7af88d3-8521-4273-9979-99a534291d77."}}

@acjdekorte , the actual error is "An item with the same key has already been added", which - in our knowledge - is some bug on NST level (Microsoft). Try restarting the NST.

cah42 commented 1 year ago

The only thing that can be derived from this, is maybe a small wish for more concise error messages :-)

Well - not really. We can only return the error that the server returns. We can't make assumptions and reformulate errors, can we?

Sorry, I wrongly assumed, that this was you forgetting to check for an error code. Knowing Microsoft, I should have known better :-)

acjdekorte commented 1 year ago

[error]Exception in BCConnector.GetAPIData: {"error":{"code":"Unknown","message":"An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000 CorrelationId: c7af88d3-8521-4273-9979-99a534291d77."}}

@acjdekorte , the actual error is "An item with the same key has already been added", which - in our knowledge - is some bug on NST level (Microsoft). Try restarting the NST.

Restarting the NST did not solve the issue. The problem in the end seems to be related to the company table, in which several companies had a empty guid as Id. We have rectified that on SQL level.

waldo1001 commented 1 year ago

That doesn't sound much like a "fix", does it?

Not sure how to resolve this. Seems the data in your system-tables got inconsistent .. 🤷‍♂️.

acjdekorte commented 1 year ago

Well it is a old test database, we migrated from BC13 with several inbetween versions to BC22. In BC20 the same data was missing, so it is not clear to me why this throws an error in BC22. After fixing the ids in company table, I runned into issue simular to #630, which I solved by resetting to default port for management api and enabling the management api on serverinstance.

No it is not solution to a supported MIME type error probably.

waldo1001 commented 1 year ago

Now I'm confused 🙈. Is there actually still an issue?

Disclaimer - there is no way for us to support anything unsupported by Microsoft - so multiple versions on one server is unsupported - though, it does work in most cases (depending how you installed all these versions).

acjdekorte commented 1 year ago

@waldo1001 Not longer at our server

NAVFreak commented 11 months ago

We also had the problem

  "error": {
    "code": "Unknown",
    "message": "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) ...

The problem on our side was that a developer had manually published the app in the wrong scope, Global. As soon as we unpublished it and made sure that all installations were in Scope tenant, it worked