Skip to content

Error handling for bug #5036 #5042

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

Merged
merged 82 commits into from
Aug 20, 2025
Merged

Error handling for bug #5036 #5042

merged 82 commits into from
Aug 20, 2025

Conversation

reshmee011
Copy link
Contributor

Type

  • Bug Fix

Related Issues?

Fixes #5036

What is in this Pull Request ?

Error handling to return message "Restricted search mode is currently not set." similar to 'Get-SPOTenantRestrictedSearchMode'

reshmee011 and others added 30 commits May 28, 2025 07:14
* fix for bug pnp#4943

* minor typo fix in the example

---------

Co-authored-by: Gautam Sheth <[email protected]>
* fix for bug pnp#4943

* fix for pnp#5018

---------

Co-authored-by: Gautam Sheth <[email protected]>
* fix for bug pnp#4943

* fix for bug 4827

* refactor code

---------

Co-authored-by: Gautam Sheth <[email protected]>
…ed if can be retrieved (pnp#5020)

* The fields requested should also be validated if can be retrieved. Fix issue "The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested".

* Shouldn't filter ReadOnlyField fields

* Update comment

---------

Co-authored-by: Pedro Monte <[email protected]>
Co-authored-by: Gautam Sheth <[email protected]>
…nabled to the set-pnptenantsite and get-pnptenantsite (pnp#5050)

* fix for bug pnp#4943

* fix for bug 4827

* refactor code

* push updates

---------

Co-authored-by: Gautam Sheth <[email protected]>
@KoenZomers
Copy link
Collaborator

Thanks @reshmee011, looks good!

@KoenZomers KoenZomers merged commit d3e4006 into pnp:dev Aug 20, 2025
4 checks passed
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.

[BUG] Get-PnPTenantRestrictedSearchMode: The given key was not present in the dictionary. #109
4 participants