-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Move some functions, modernize and support POST and GET #1313
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
Conversation
…ing and improve message handling dont throw cause it break stuff if it fails fix typo
statuscode and remove useless stuff Refactor Invoke-RemoveAPDevice to unify tenant filter retrieval and improve logging messages
…SharedMailboxAccountEnabled
…-ListGroupSenderAuthentication
…ed logging and error handling
…mproved parameter handling and logging
…onsistency and clarity
…ameter management
…parameter handling, logging, and error management
…management, and logging
…ed parameter handling, error management, and logging Casing and add displayName param
…and error management
… handling, logging, and response management
…nd logging consistency
…ency, and error messaging
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecCPVPermissions.ps1
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could probably use exo bulk requests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I converted it from that. This cmdlet is dumb and annoying and does not tell what type it returns, so the remove function had to figure it out in the backend when trying to remove. That sometimes worked, but a domain like "domain.dk" could both be of the "Sender" or "URL" type, causing the deletion to fail.
Using parralel and adding the property be hand seemed like the most elegant and BRRRRRRRR solution when the bulk request didnt really do what was needed.
Refactor various mailbox management functions for improved parameter handling, error logging, and message processing. Implement new mailbox conversion functionality and support for POST requests. Ensure consistent casing for parameters across functions.
Frontend PR: KelvinTegelaar/CIPP#3660