Azure-Player / azure.datafactory.devops

Azure DevOps Deployment Tasks for Azure Data Factory objects
MIT License
39 stars 21 forks source link

Pipelines: 0 object(s) loaded. Number of objects marked as to be deployed: 0/0 #51

Closed N214 closed 3 years ago

N214 commented 3 years ago

Thank you for your module. I encounter some issues and here is the log, I have several pipeline and linked services in my json file but when I deploy, none of them are being deployed and since the deployment has been successful I dont get much to debug.... Can you help? Thank you

2021-06-15T17:27:19.9100023Z ##[section]Starting: Publish ADF aziedo1feg988  from JSON files
2021-06-15T17:27:19.9221776Z ==============================================================================
2021-06-15T17:27:19.9222175Z Task         : Publish Azure Data Factory
2021-06-15T17:27:19.9222522Z Description  : Deploys entire ADF (v2) from JSON files to ADF instance (adftools)
2021-06-15T17:27:19.9222837Z Version      : 1.6.846
2021-06-15T17:27:19.9223094Z Author       : Kamil Nowinski (SQLPlayer)
2021-06-15T17:27:19.9223490Z Help         : [More Information](https://github.com/SQLPlayer/azure.datafactory.devops)
2021-06-15T17:27:19.9223890Z ==============================================================================
2021-06-15T17:27:22.4900954Z PowerShell: 5.1.14393.4402 Desktop
2021-06-15T17:27:23.9915934Z ##[warning]Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide
2021-06-15T17:27:28.2935732Z ##[command]Import-Module -Name C:\Modules\az_5.7.0\Az.Accounts\2.3.0\Az.Accounts.psd1 -Global
2021-06-15T17:27:35.8689085Z ##[command]Clear-AzContext -Scope Process
2021-06-15T17:27:36.9914995Z ##[command]Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2021-06-15T17:27:37.8485294Z ##[command]Connect-AzAccount -ServicePrincipal -Tenant *** -Credential System.Management.Automation.PSCredential -Environment AzureCloud @processScope
2021-06-15T17:27:40.0631784Z ##[command] Set-AzContext -SubscriptionId 2698ca5b-bf81-43fb-8fe2-f0e21bf068e5 -TenantId ***
2021-06-15T17:27:40.7216256Z ======================================================================================
2021-06-15T17:27:40.7224030Z ### azure.datafactory.tools                                       Version 0.61.000 ###
2021-06-15T17:27:40.7227318Z ======================================================================================
2021-06-15T17:27:40.7233582Z Invoking Publish-AdfV2FromJson (https://github.com/SQLPlayer/azure.datafactory.tools)
2021-06-15T17:27:40.7238397Z with the following parameters:
2021-06-15T17:27:40.7244122Z ======================================================================================
2021-06-15T17:27:40.7249428Z RootFolder:         D:\a\r1\a\_BRS.DBS.BRSLUX.ADF\aziedo1feg987
2021-06-15T17:27:40.7255381Z ResourceGroupName:  GRP-EU-IFM-UAT-RG42
2021-06-15T17:27:40.7260924Z DataFactoryName:    aziedo1feg988
2021-06-15T17:27:40.7266358Z Location:           North Europe
2021-06-15T17:27:40.7273860Z Stage:              
2021-06-15T17:27:40.7290212Z Options provided:   True
2021-06-15T17:27:40.7295684Z Publishing method:  AzDataFactory
2021-06-15T17:27:40.7301282Z ======================================================================================
2021-06-15T17:27:40.7349607Z Publish options are provided.
2021-06-15T17:27:40.7354798Z STEP: Verifying whether ADF exists...
2021-06-15T17:27:41.5166820Z Azure Data Factory exists.
2021-06-15T17:27:41.5200542Z ===================================================================================
2021-06-15T17:27:41.5201969Z STEP: Reading Azure Data Factory from JSON files...
2021-06-15T17:27:41.5408503Z IntegrationRuntimes: 0 object(s) loaded.
2021-06-15T17:27:41.5436218Z LinkedServices: 0 object(s) loaded.
2021-06-15T17:27:41.5463822Z Pipelines: 0 object(s) loaded.
2021-06-15T17:27:41.5490745Z DataSets: 0 object(s) loaded.
2021-06-15T17:27:41.5517773Z DataFlows: 0 object(s) loaded.
2021-06-15T17:27:41.5544906Z Triggers: 0 object(s) loaded.
2021-06-15T17:27:41.5572166Z Factories: 0 object(s) loaded.
2021-06-15T17:27:41.6386555Z # Number of objects marked as to be deployed: 0/0
2021-06-15T17:27:41.6393836Z ===================================================================================
2021-06-15T17:27:41.6398090Z STEP: Replacing all properties environment-related...
2021-06-15T17:27:41.6418386Z Stage parameter was not provided - action skipped.
2021-06-15T17:27:41.6424371Z ===================================================================================
2021-06-15T17:27:41.6430223Z STEP: Stopping triggers...
2021-06-15T17:27:41.6495786Z Getting triggers...
2021-06-15T17:27:42.5278953Z ===================================================================================
2021-06-15T17:27:42.5314828Z STEP: Deployment of all ADF objects...
2021-06-15T17:27:42.5318244Z ===================================================================================
2021-06-15T17:27:42.5345062Z STEP: Deleting objects not in source ...
2021-06-15T17:27:42.5345737Z Operation skipped as publish option 'DeleteNotInSource' = false
2021-06-15T17:27:42.5346363Z ===================================================================================
2021-06-15T17:27:42.5346991Z STEP: Starting all triggers...
2021-06-15T17:27:42.5448781Z The number of triggers to start: 0
2021-06-15T17:27:42.5497084Z ==============================================================================
2021-06-15T17:27:42.5502260Z    *****   Azure Data Factory files have been deployed successfully.   *****
2021-06-15T17:27:42.5502505Z 
2021-06-15T17:27:42.5508156Z Data Factory name:  aziedo1feg988
2021-06-15T17:27:42.5514584Z Region (Location):  North Europe
2021-06-15T17:27:42.5603332Z      Elapsed time:  0:00:01.812
2021-06-15T17:27:42.5603643Z 
2021-06-15T17:27:42.5610610Z ==============================================================================
2021-06-15T17:27:42.5614044Z 
2021-06-15T17:27:42.5620367Z =========================================================================================================
2021-06-15T17:27:42.5626038Z     - How much helpful this extension Task for Azure Data Factory is?                                    
2021-06-15T17:27:42.5631286Z     - If you like it, if it saves your time or maybe something could be done better?                     
2021-06-15T17:27:42.5637010Z     - I would be really appreciate if you rate this tool and leave your honest comment.                  
2021-06-15T17:27:42.5643852Z (https://marketplace.visualstudio.com/items?itemName=SQLPlayer.DataFactoryTools&ssr=false#review-details)
2021-06-15T17:27:42.5649478Z                          THE COMMUNITY WOULD LOVE TO HEAR YOUR FEEDBACK !                                
2021-06-15T17:27:42.5655447Z                                             Me either :)                                        Thanks!  
2021-06-15T17:27:42.5660787Z =========================================================================================================
2021-06-15T17:27:42.5663305Z 
2021-06-15T17:27:42.6430434Z ##[section]Finishing: Publish ADF aziedo1feg988  from JSON files
N214 commented 3 years ago

I used the wrong branch...