Azure / Azure/RDS-Templates

AIB ConfigureOfficeApps.ps1 Script has a $templateFilePathFolder variable not called

Open
#764 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
524
Forks
610
PR merge metrics
No merged PRs in 30d

Description

Hey Team -- in the `ConfigureOfficeApps.ps1` script used to install Project and Visio, on line 303, this variable: $templateFilePathFolder, is not called so it returns a null value. This is an example attempting to run that script manually. I think that portion of the `#Cleanup` section can be taken out.

Reference: https://github.com/Azure/RDS-Templates/blob/master/CustomImageTemplateScripts/CustomImageTemplateScripts_2023-09-15/ConfigureOfficeApps.ps1

![image](https://github.com/Azure/RDS-Templates/assets/26752719/38678249-653b-4fb6-9431-5068068e6740)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open CustomImageTemplateScripts/CustomImageTemplateScripts_2023-09-15/ConfigureOfficeApps.ps1 and inspect line 303 in the #Cleanup section. Check how $templateFilePathFolder is used, then verify the cleanup behavior by running the script manually. Done means the unused variable reference is removed and the script no longer returns a null value there.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.