microsoftgraph / microsoftgraph/msgraph-metadata
Non-updatable properties should be specified under `NonUpdatableProperties` in the CSDL (Update-MgUserMailFolder does not change IsHidden Attribute)
Nobody has claimed this yet.
- Dominant language
- XSLT
- Stars
- 166
- Forks
- 55
- Avg merge
- 16h 12m
- Merged PRs (30d)
- 14
Description
Graph PowerShell is version 2.7.0
When I want to change the IsHidden attribut of a folder, I use this command:
Update-MgUserMailFolder -UserId testmailbox@domain.com -MailFolderId "AA...E1AAAA" -IsHidden:$False
I get no error message, but the IsHidden Attribute is still True.
Is this by design or is it a bug?
I want to use this feature to hide specific unwanted folders like Archive, Drafts, in shared mailboxes to make the list of folders smaller.
I only managed to create a new folder where the IsHidden Attribute is set from the beginning, but for this folder I am also unable to change the IsHidden attribute afterwards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CSDL metadata for mailFolder and the IsHidden property, then inspect how Update-MgUserMailFolder is generated from it. Done means the metadata represents IsHidden under NonUpdatableProperties and the generated command behavior matches that contract.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100