Git Product home page Git Product logo

samples-dynamic-group's Introduction

samples-dynamic-group

Code samples to help you manage dynamic group membership

PauseAll.ps1

  • Setup: Ensure you have multiple groups with dynamic membership in unpaused state in your Microsoft 365 environment.
  • Run: .\PauseAll.ps1
  • Verification:
  • Confirm connection to Microsoft Graph with appropriate permissions.
  • Verify all dynamic groups are paused in the portal.
  • Check the script output for a summary of the operation.

PauseSpecific.ps1

  • Setup: Identify specific groups by their IDs that you want to pause.
  • Run: .\PauseSpecific.ps1
  • Follow the prompt to enter the IDs of the groups you want to pause.
  • Verification:
  • Confirm connection to Microsoft Graph with appropriate permissions.
  • Verify the specified groups are paused in the portal.
  • Check the script output for a summary of the operation.

PauseAllExcept.ps1

  • Setup: Identify groups by their IDs that you want to exclude from pausing.
  • Run: .\PauseAllExcept.ps1
  • Follow the prompt to enter the IDs of the groups you want to exclude.
  • Verification:
  • Confirm connection to Microsoft Graph with appropriate permissions.
  • Verify all groups except the specified ones are paused in the portal.
  • Check the script output for a summary of the operation.

UnPauseSpecificCritical.ps1

  • Setup: Identify specific groups by their IDs that you want to unpause.
  • Run: .\UnPauseSpecificCritical.ps1
  • Follow the prompt to enter the IDs of the groups you want to unpause.
  • Verification:
  • Confirm connection to Microsoft Graph with appropriate permissions.
  • Verify the specified groups are unpaused in the portal.
  • Check the script output for a summary of the operation.

UnPauseNonCritical.ps1

  • Setup: Ensure you have multiple groups with dynamic membership in paused state in your Microsoft 365 environment.
  • Run: .\UnPauseNonCritical.ps1
  • Verification:
  • Confirm connection to Microsoft Graph with appropriate permissions.
  • Verify some groups are unpaused in the portal.
  • Check the script output for a summary of the operation.

Error Handling and Troubleshooting

  • Connectivity Issues: Ensure you have an active internet connection and proper credentials to connect to Microsoft Graph.
  • Permission Issues: Verify that the account used to run the scripts has Group.ReadWrite.All permissions.
  • Script Errors: Check the logs and error messages output by the script to identify and resolve issues. Refer to the comments and documentation within the scripts for guidance.

samples-dynamic-group's People

Contributors

barclayn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.