-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Describe the bug
Since last Friday afternoon, we have been receiving an error message when publishing a new release to AppSource. We are not sure what is causing the issue. The output indicates that only one Business Central offering is found. Could you please take a look and help us determine whether this is an API or ALOps issue?
the used yaml
please provide the yaml that you used. It helps you put the yaml like this:
steps:
- task: ALOpsAppSource@1
displayName: 'ALOps AppSource'
inputs:
azure_tenant_id: '$(TenantID)'
azure_app_client_id: '$(AppSourceClientId)'
azure_app_client_secret: '$(AppSourceClientSecret)'
apply_offering_version_filter: true
autopromote: true
offering_name_filter_array: 'Some App'
pwsh: truethe output
Also the complete output is necessary for us to see what is going on. Also use backtics:
##[section]Starting: ALOps AppSource
==============================================================================
Task : ALOps AppSource
Description : Compile AL Extensions for Business Central
Version : 1.473.10487
Author : Hodor
Help : Compile a Business Central extension from AL code.
==============================================================================
*** Using Powershell 7
*** Validate configuration
*** Task Inputs:
name value
---- -----
azure_tenant_id ***
azure_app_client_id ***
azure_app_client_secret ***
apply_offering_version_filter True
autopromote True
autopromote_checksecondsdelay 30
autopromote_maxtries 120
offering_name_filter_array Some App
skip_version_change False
pwsh True
True
*** For documentation, please visit : https://www.alops.be/documentation
*** Importing required PS-Functions
*** Load Management DLL's
*** Import NAV/BC Management DLL's [False]
*** ServiceTier not specified, loading default assemblies.
*** Default Assemblies not found. Load via BC-Artifacts
*** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
*** Check BcContainerHelper
*** Load BcContainerHelper
BcContainerHelper version 6.1.10
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 7.5.4
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 6.1.10 BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder,…
##[command]"Get-BCArtifactUrl"
Name Value
---- -----
select Weekly
country W1
type Sandbox
-select: Weekly -country: W1 -type: Sandbox
Downloading Platform index to C:\agent4\_work\_temp\bcContainerHelper.platform.json
Downloading w1 index to C:\agent4\_work\_temp\bcContainerHelper.w1.json
Downloading Platform index to C:\agent4\_work\_temp\bcContainerHelper.platform.json
Downloading w1 index to C:\agent4\_work\_temp\bcContainerHelper.w1.json
*** Platform: C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform
*** Localisation: C:\bcartifacts.cache\sandbox\27.3.44313.45416\w1
*** BC Management DLL: C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll
*** Selected module: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
*** Loading module: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
*** BC Management DLL: C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll
*** Selected module: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
*** Loading module: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
*** Load module [Microsoft.Dynamics.Nav.Apps.Management]
*** BC App Management DLL: not available
*** Load CodeAnalysis from [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Management]
*** 'Management' folder overruled
*** Loading assemblies from: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service]
*** Loading: [C:\bcartifacts.cache\sandbox\27.3.44313.45416\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\270\Service\Microsoft.Dynamics.Nav.CodeAnalysis.dll]
*** Check Powershell Module [AZ]
*** Request OAuth token for [api.partner.microsoft.com]
* Client ID: ***
*** Fetch Offering-Data from [api.partner.microsoft.com]
*** Offerings found: 1
**** Filter list for Dynamics365 Business Central Apps
*** Business Central Offerings found: 1
resourceType name externalIDs isModularPublishing id
------------ ---- ----------- ------------------- --
AzureDynamics365BusinessCentral Other App {@{type=AzureOfferId; value=other-app}} True 04e7a…
*** AppSource Offerings after applying filter:
*** Retrieve Offering Version information:
*** Discover available .app files
*** Read App Manifest: [C:\agent4\_work\r3\a\LicenseModule\LicenseModule\Some Company_License Module_4.0.101113.0_BC23.0_w1.app].
*** Read App Manifest: [C:\agent4\_work\r3\a\Some-App\Some-App\Some Company_Some App_5.5.101636.0_BC25.0_w1.app].
*** App Manifests [2]:
Path
----
C:\agent4\_work\r3\a\LicenseModule\LicenseModule\Some Company_License Module_4.0.101113.0_BC23.…
C:\agent4\_work\r3\a\Some-App\Some-App\Some Company_Some App_5.5.101636.0_BC25.0_w1.app
*** Unique App Manifests in latest version [2]:
Path : C:\agent4\_work\r3\a\LicenseModule\LicenseModule\Some Company_License Module_4.0.101113.0_BC23.0_w1.app
AppId : 00000000-0000-0000-0000-000000000000
AppName : License Module
AppPublisher : Some Company
AppDescription : License Module of Some Company
AppBrief : prisma Lizenz Modul
AppVersion : 4.0.101113.0
AppPrivacyStatement : https://www.some-company.com/impressum
AppEula : https://www.some-company.com/impressum
AppUrl : https://www.some-company.com
AppHelp : https://www.some-company.com/support
AppLogo : /logo/Logo.png
AppAlternateIds : {}
AppScreenshots : {}
ShowMyCode : False
ResourceExposurePolicy : Microsoft.Dynamics.Nav.CodeAnalysis.Packaging.ResourceExposurePolicy
AppHelpBaseUrl :
ContextSensitiveHelpUrl : https://support.some-company.com/{0}/
AppSupportedLocales : de-DE,en-US
Dependencies : {}
InternalsVisibleTo : {}
Application : 26.0.0.0
Test :
Platform : 26.0.0.0
Runtime : 15.0
Target : Cloud
IdSpaces : Microsoft.Dynamics.Nav.CodeAnalysis.IdSpaces
CompilerFeatures : GenerateXliffTranslationFile, NoImplicitWith
ApplicationInsightsKey : 00000000-0000-0000-0000-000000000000
ApplicationInsightsConnectionString :
KeyVaultUrls : {}
SuppressWarnings : {}
PreprocessorSymbols : {}
SourceSpecification : Microsoft.Dynamics.Nav.CodeAnalysis.SourceSpecification
BuildInformation : Microsoft.Dynamics.Nav.CodeAnalysis.BuildInformation
AppCompatibilityId : 0.0.0.0
AppReference : Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification
PlatformReference : Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification
TestReference :
DependencyReferences : {}
PropagateDependencies : False
AppResourceFolders :
Path : C:\agent4\_work\r3\a\Some-App\Some-App\Some Company_Some App_5.5.101636.0_BC25.0_w1.app
AppId : fdd90d4f-137f-4fc9-a93d-b2e54e1cfb1d
AppName : Some App
AppPublisher : Some Company
AppDescription : EDI Module
AppBrief : EDI Module
AppVersion : 5.5.101636.0
AppPrivacyStatement : https://www.some-company.com/impressum
AppEula : https://www.some-company.com/impressum
AppUrl : https://www.some-company.com
AppHelp : https://www.some-company.com/support
AppLogo : /logo/Logo.jpg
AppAlternateIds : {}
AppScreenshots : {}
ShowMyCode : False
ResourceExposurePolicy : Microsoft.Dynamics.Nav.CodeAnalysis.Packaging.ResourceExposurePolicy
AppHelpBaseUrl :
ContextSensitiveHelpUrl : https://support.some-company.com/{0}/
AppSupportedLocales : de-DE,en-US
Dependencies : {License Module, Some Company, 4.0.0.0, False}
InternalsVisibleTo : {}
Application : 26.0.0.0
Test :
Platform : 26.0.0.0
Runtime : 15.0
Target : Cloud
IdSpaces : Microsoft.Dynamics.Nav.CodeAnalysis.IdSpaces
CompilerFeatures : GenerateXliffTranslationFile, NoImplicitWith
ApplicationInsightsKey : 00000000-0000-0000-0000-000000000000
ApplicationInsightsConnectionString :
KeyVaultUrls : {}
SuppressWarnings : {}
PreprocessorSymbols : {}
SourceSpecification : Microsoft.Dynamics.Nav.CodeAnalysis.SourceSpecification
BuildInformation : Microsoft.Dynamics.Nav.CodeAnalysis.BuildInformation
AppCompatibilityId : 0.0.0.0
AppReference : Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification
PlatformReference : Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification
TestReference :
DependencyReferences : {License Module}
PropagateDependencies : False
AppResourceFolders :
*** Version Filtered Apps [0]:
*** Prepare release
*** Submit Apps
##[error]Cannot index into a null array.
*** PWSH Run Completed: 1
##[section]Finishing: ALOps AppSource
Reactions are currently unavailable