We have encountered an issue when attempting to add an existing policy on an existing UCS server profile for CIMC. Please find below the workflow for the code.
Add the policy in policyBucket
Set-IntersightServerProfile on the UCS Server Profile
Add Start-Sleep for ~5 secs
Deploy the UCS Server Profile
Previously, it was not necessary to include Start-Sleep when adding a policy to policyBucket and then deploying the UCS Server Profile.
Describe the bug
We have encountered an issue when attempting to add an existing policy on an existing UCS server profile for CIMC. Please find below the workflow for the code.
Add the policy in policyBucket Set-IntersightServerProfile on the UCS Server Profile Add Start-Sleep for ~5 secs Deploy the UCS Server Profile
Previously, it was not necessary to include Start-Sleep when adding a policy to policyBucket and then deploying the UCS Server Profile.
To Reproduce Steps to reproduce the behavior
**
Version used
Intersight PowerShell Module version (1.0.11.18775) and (1.0.11.2024100405)
Expected behavior Can the back-end handle the pause instead of adding it in the scripts?
Screenshots
Additional context Add any other context about the problem here.