Skip to content

Update-EntraGroup - WhatIf experiment #1414

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

SteveMutungi254
Copy link
Contributor

Update-EntraGroup - WhatIf experiment + Pre-requisites checks (logged in user, installed module)

@SteveMutungi254 SteveMutungi254 requested a review from a team as a code owner March 18, 2025 13:07
Copy link

Learn Build status updates of commit fb135c4:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit e80b5e0:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit e88e0f0:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit eda526a:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit 557a4ad:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
module/docfx.json ⚠️Warning Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-v1.0
  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-beta
  • Line 0, Column 0: [Warning: not-failed] Invalid value for 'open_to_public_contributors': 'True'.

module/docfx.json

  • Line 27, Column 30: [Warning: not-failed] Invalid value for 'extendBreadcrumb': 'True'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

Copy link

Learn Build status updates of commit 751c4a6:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
module/docfx.json ⚠️Warning Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-v1.0
  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-beta
  • Line 0, Column 0: [Warning: not-failed] Invalid value for 'open_to_public_contributors': 'True'.

module/docfx.json

  • Line 27, Column 30: [Warning: not-failed] Invalid value for 'extendBreadcrumb': 'True'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

Copy link

Learn Build status updates of commit 561f7cd:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
module/docfx.json ⚠️Warning Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-v1.0
  • Line 0, Column 0: [Warning: MAML2Yaml_Directory_NotFound] Directory can't be found: entra-powershell-beta
  • Line 0, Column 0: [Warning: not-failed] Invalid value for 'open_to_public_contributors': 'True'.

module/docfx.json

  • Line 27, Column 30: [Warning: not-failed] Invalid value for 'extendBreadcrumb': 'True'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

Copy link

Learn Build status updates of commit ed78c09:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit ffd4935:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit 42f283a:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit 51fb1ea:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Groups/Update-EntraGroup.ps1 ✅Succeeded
test/Entra/Groups/Update-EntraGroup.Tests.ps1 ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

}

# Convert final update properties to JSON
$bodyJson = $GroupProperties | ConvertTo-Json -Depth 2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-Depth 2 for ConvertTo-Json might be sufficient for deeply nested properties, for a user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants