Skip to content

Commit

Permalink
Merge pull request #66 from Cloudneeti/Avantika/m365-data-collector-h…
Browse files Browse the repository at this point in the history
…otfix

updated runbook naming convention
  • Loading branch information
rahulkhengare authored Apr 19, 2023
2 parents f19fc60 + 9b59321 commit 21a5d9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/Provision-M365DataCollector.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ $ResourceGroupName = "$DataCollectorName-rg"
$ScriptPrefix = "M365DataCollector"
$ContianerName = "m365-datacollection-script"
$RunbookScriptName = "$ScriptPrefix-$DataCollectorVersion.ps1"
$RunbookName = "$ScriptPrefix-$DataCollectorVersion"
$RunbookNameSuffix = $DataCollectorVersion.Replace(".","v")
$RunbookName = "$ScriptPrefix" + "$RunbookNameSuffix"
$path = "./runbooks"
$Tags = @{"Service" = "ZCSPM-Office365-Data-Collection"}
if($SharePointAdminCenterURL -notlike "https://*"){
Expand Down
3 changes: 2 additions & 1 deletion scripts/Upgrade-M365DataCollector.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ $ResourceGroupName = "$DataCollectorName-rg"
$ScriptPrefix = "M365DataCollector"
$ContianerName = "m365-datacollection-script"
$RunbookScriptName = "$ScriptPrefix-$DataCollectorVersion.ps1"
$RunbookName = "$ScriptPrefix-$DataCollectorVersion"
$RunbookNameSuffix = $DataCollectorVersion.Replace(".","v")
$RunbookName = "$ScriptPrefix" + "$RunbookNameSuffix"
$path = "./runbooks"
$scheduleName = "$ScriptPrefix-DailySchedule"
$ZCSPMCredentials = "ZCSPMCredentials"
Expand Down

0 comments on commit 21a5d9c

Please sign in to comment.