private async Task<int> OnExecuteAsync(CommandLineApplication app, CancellationToken cancellationToken = default)
        {
            Console.WriteLine("Welcome to tools from the Integration Playbook");
            Console.WriteLine("Check out https://www.integration-playbook.io/docs for more integration content for the Microsoft Platform");
            Console.WriteLine("----------------------------------------------------------------------------------------------------------");
            Console.WriteLine("Running the Logic App Error Report");
            Console.WriteLine($"Start Date: {StartDate}");
            Console.WriteLine($"End Date: {EndDate}");

            var errorReportArgs = new ErrorReportArgs()
            {
                OutputExcelPath = ExcelOutputPath,
                Secret = ClientSecret,
                SubscriptionId = SubscriptionId,
                TenantId = TenantId,
                WebApiApplicationId = ClientId,
                StartDate = StartDate,
                EndDate = EndDate
            };
            errorReportArgs.ResourceGroups.AddRange(ResourceGroups);


            var reportManager = new ErrorReportManager();
            reportManager.ErrorReportArgs = errorReportArgs;
            reportManager.Execute();

            Console.WriteLine("Report generation complete");
            Console.ReadLine();

            return 0;
        }