Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PacSelector on Install-HydrationEpac #732

Closed
EdersonSC opened this issue Aug 21, 2024 · 5 comments
Closed

PacSelector on Install-HydrationEpac #732

EdersonSC opened this issue Aug 21, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@EdersonSC
Copy link

Describe the bug
After using the Install-HydrationEpac command, the configuration for my environment starts and the connection test is successful. When I try to install my PacSelector, I get the following error:

Result Verified for variable dxc01, which will be used to identify the deployment to this Tenant.

Write-Error: C:\Users\ecelestrino2\OneDrive - DXC Production\Documents\PowerShell\Modules\EnterprisePolicyAsCode\10.5.6\functions\Install-HydrationEpac.ps1:65
Line |
65 | Write-Error $error[0].Exception.Message
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot bind argument to parameter 'Exception' because it is null.

############################################################################ Creating repo Definitions folder... Install-HydrationEpac: Unable to create global-settings file. This is likely a flaw in the choices made above that should have been caught in earlier tests. Please retain your answer file and report this to the EPAC team.
Copy-Item: C:\Users\ecelestrino2\OneDrive - DXC Production\Documents\PowerShell\Modules\EnterprisePolicyAsCode\10.5.6\functions\Install-HydrationEpac.ps1:103 Line |
103 | Copy-Item $AnswerFilePath -Destination $errorPath | ~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is an empty string.

############################################################################ Creating Pipeline... Install-HydrationEpac: Invalid response. This is a bug. Check to see if a new valid type was added and the switch was not updated properly.
PS D:\workspace\Epac\DEV>

To Reproduce
Use the Install-HydrationEpac command, start configuration for an environment, the connection test will be successful. In the next step of placing the PacSelector you will receive an error.

Expected behavior
Cannot bind argument to parameter 'Exception' because it is null.

Screenshots
If applicable, add screenshots to help explain your problem.

EPAC Version
10.5.6

@EdersonSC EdersonSC added the bug Something isn't working label Aug 21, 2024
@anwather anwather changed the title PacSelctor on Install-HydrationEpac PacSelector on Install-HydrationEpac Aug 21, 2024
@anwather
Copy link
Collaborator

@jeremiahhoward can you take a look at this please?

@jeremiahhoward jeremiahhoward self-assigned this Aug 22, 2024
@jeremiahhoward
Copy link
Member

jeremiahhoward commented Aug 22, 2024

Greetings! Would you be able to send me the answer file at jeremiah.howard"at"microsoft.com please @EdersonSC ? It looks there may have been an error writing the file though, so that may not be possible. Please let me know, thank you!

@EdersonSC
Copy link
Author

Thanks and I sent the e-mail

@EdersonSC
Copy link
Author

I don't know what they did, but it was fixed in version 10.5.7.
Thanks

@EdersonSC
Copy link
Author

I don't know what they did, but it was fixed in version 10.5.7.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants