Skip to content

Error handling for bug #5036#5042

Merged
KoenZomers merged 82 commits intopnp:devfrom
reshmee011:HandleError_RSS
Aug 20, 2025
Merged

Error handling for bug #5036#5042
KoenZomers merged 82 commits intopnp:devfrom
reshmee011:HandleError_RSS

Conversation

@reshmee011
Copy link
Collaborator

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 <gautamdsheth@outlook.com>
* fix for bug pnp#4943

* fix for pnp#5018

---------

Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
* fix for bug pnp#4943

* fix for bug 4827

* refactor code

---------

Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
…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 <pedro@bindtuning.com>
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
…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 <gautamdsheth@outlook.com>
@KoenZomers
Copy link
Collaborator

Thanks @reshmee011, looks good!

@KoenZomers KoenZomers merged commit d3e4006 into pnp:dev Aug 20, 2025
4 checks passed
@reshmee011 reshmee011 deleted the HandleError_RSS branch October 1, 2025 04:05
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