Export-AzAutomationRunbook does not return path correctly if OutputFolder is set #27944
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Possible-Solution
Similar-Issue
Description
Running the command
from any working directory other than the local temp folder causes the returned file object to be invalid
It appears that there is a hardcoded assumption that the file is being exported to the local working directory and as such the file object returned has the full path of $WorkingDirectory\RunbookName.ps1
The file is successfully exported to the correct location so its just an script output issue
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: