Forum Widgets
Latest Discussions
PromotedState does not update anymore
I wish to update the promoted status to 0 (page), 1 (unpublished news) or 3 (published news). I was always doing this via SharePoints column formatting. See .json column formatting below. This worked perfectly fine until about this week. Now it doesn't seem to work anymore. Now I tried updating the PromotedState also via PowerAutomate. This also doesn't seem to work... How should I now change the PromotedState. Does someone have any clue how I can update the PromotedState or why the column formatting way of wokring, suddently doesn't work anymore? The json code for column formatting. { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "flex-wrap": "nowrap", "display": "flex", "flex-direction": "row" }, "children": [ { "elmType": "div", "txtContent": "=if(@currentField == 0 ,'0 : Page' , if(@currentField == 1, '1 : News (Unpublished)' , if(@currentField == 2 , '2 : News','') ) )", "style": { "box-sizing": "border-box", "padding": "4px 8px 5px 8px", "display": "flex", "border-radius": "16px", "align-items": "center", "overflow": "hidden", "margin": "4px 4px 4px 4px", "border": "1px solid" }, "attributes": { "class": "=if(@currentField == 0 ,'ms-fontColor-themePrimary ms-borderColor-themePrimary ms-bgColor-white' , if(@currentField == 1, 'ms-fontColor-themePrimary ms-borderColor-themePrimary ms-bgColor-themeLighter' , if(@currentField == 2 , 'ms-fontColor-white ms-borderColor-themePrimary ms-bgColor-themePrimary','') ) )" } }, { "elmType": "div", "style": { "font-size": "18px", "cursor": "pointer", "padding": "10px", "border-radius": "50%" }, "attributes": { "iconName": "MoreVertical", "class": "ms-fontColor-themePrimary ms-bgColor-themeLighter--hover" }, "customCardProps": { "openOnEvent": "click", "directionalHint": "rightCenter", "isBeakVisible": true, "formatter": { "elmType": "div", "style": { "display": "flex", "flex-direction": "column", "align-items": "flex-start" }, "children": [ { "elmType": "div", "txtContent": "Change to Page (0)", "style": { "padding": "10px 20px 10px 20px", "cursor": "pointer", "width": "200px" }, "attributes": { "class": "ms-bgColor-themeLighter--hover" }, "customRowAction": { "action": "setValue", "actionInput": { "PromotedState": "0" } } }, { "elmType": "div", "txtContent": "Change to unpublished news (1)", "style": { "padding": "10px 20px 10px 20px", "cursor": "pointer", "width": "200px" }, "attributes": { "class": "ms-bgColor-themeLighter--hover" }, "customRowAction": { "action": "setValue", "actionInput": { "PromotedState": "1" } } }, { "elmType": "div", "txtContent": "Change to published news (2)", "style": { "padding": "10px 20px 10px 20px", "cursor": "pointer", "width": "200px" }, "attributes": { "class": "ms-bgColor-themeLighter--hover" }, "customRowAction": { "action": "setValue", "actionInput": { "PromotedState": "2" } } } ] } } } ] } The HTTP SharePoint call to update the PromotedStatus.WYellowFeb 10, 2026Brass Contributor103Views0likes5CommentsGraph /shares endpoint returns 401 for Guests until I force a 403 on /groups - Why does this fix it?
Hi everyone, I am encountering a bizarre authorization behavior with Microsoft Graph API involving External Guest Users (B2B) accessing SharePoint Online files. I have isolated the issue to a specific sequence of calls that suggests a "Just-In-Time" permission or session-hydration lag, but I can't explain why a specific error fixes it. The Scenario User: External Guest (B2B) invited to the tenant. Auth Flow: Delegated Permissions (Token contains Files.Read.All, Sites.Read.All, User.Read.All). Action: Attempting to resolve a sharing link (encoded) via the /shares endpoint. Context: The user has been granted access via "Specific People" sharing. Environment: Fails consistently in Production, works perfectly in a Lab tenant. What I have already ruled out: Lockdown Mode: "Limited-access user permission lockdown mode" is NOT active on the site collection. User Info List (UIL): The Guest User exists in the Site User Information List with the correct claims identity (i:0#.f|membership|...). I have manually verified the entry is correct and not a "decoy" email-only entry. Conditional Access: The token has valid MFA claims (amr: mfa) and acrs: p1. The Anomaly (The 401 -> 403 -> 200 Pattern) Step 1 (The Goal): GET https://graph.microsoft.com/v1.0/shares/u!{encoded_url}/driveItem Result: 401 Unauthorized (Code: accessDenied). Note: Attempting a direct call to /drives/{id}/items/{id} with the same token also returns 401. Step 2 (The "Voodoo" Fix): GET https://graph.microsoft.com/v1.0/groups/{random_group_id}/drive Target: A Microsoft 365 Group the user is NOT a member of. Result: 403 Forbidden (As expected). Step 3 (Retry Step 1): GET https://graph.microsoft.com/v1.0/shares/u!{encoded_url}/driveItem Result: 200 OK. The API now successfully resolves the link and returns the file metadata. This access persists for several hours before the cycle repeats. My Analysis Since "Lockdown Mode" is disabled and the user is present in the UIL, I suspect the /shares (and /drives) endpoint is hitting a legacy authorization stack that perceives the guest session as "stale" or "unverified" for the specific site resource. The /groups endpoint interacts with the modern Unified Groups infrastructure. My theory is that hitting this endpoint forces a JIT (Just-In-Time) refresh of the user's security context or group membership claims against Entra ID. This side-effect seems to "warm up" or side-load a permission cache that the legacy SharePoint stack requires to authorize the request. The Question Has anyone seen this 401 -> 403 -> 200 pattern before? Is there a known "hidden" cache or synchronization process that the /groups endpoint triggers which /shares does not? I am looking for a cleaner way to initialize this context than intentionally triggering a 403 error in my application logic. Any insights would be greatly appreciated!isabasuFeb 10, 2026Copper Contributor5Views0likes0CommentsConfiguring PnP Search
Hi all. I have a specific requirement and can't figure out if it is possible. I have two pages. First page is a home page. I just want one clean Search Box here. Now I want the search query to feed a second Search Box web part on the second page. The second page has a Search box, Search Results and Refiner web parts. Is this possible?Mike FairleyFeb 10, 2026Brass Contributor27Views1like2CommentsHow to share pdf files that are linked to a ERP software system (dynamics AX/365)
At work we have an ERP system with linked pdf files. These files are stored on Sharepoint. We want to share these files with external parties. What is the best way to do this?amuFeb 10, 2026Occasional Reader9Views0likes0CommentsHow to get a custom Site Page content type to show in the Site Pages Library New dropdown?
I have created a new Site Pages content type from the SharePoint Admin Center Content Type hub. The parent content type is Site Pages. When I add the content type to the Site Pages library on a site, the new content type does not appear in the New dropdown. I have verified the new Content Type shows in the Site Pages Library Settings: I have also confirmed the new button order: How do I get the new Site Pages Content Type to show in the New dropdown of Site Pages Library?SolvedKatherineS-QFeb 10, 2026Brass Contributor930Views0likes3CommentsIntermittent failures when creating new libraries in modern SharePoint
Hi everyone, I’m seeing an issue in our modern SharePoint Online site collection where creating new document libraries has started failing. This site has worked normally for years, but over the past week, most library creation attempts haven't worked. 1) The page briefly flashes or glitches during the creation process. and 2) A non‑ending spinning wheel when I hit "create" or 3) Creation attempts return “Something's not right.” error page. The failures happen across all subsites, in multiple browsers, and I’m a Site Collection Administrator. No permission changes were made recently. Has anyone seen similar intermittent library creation failures in a modern site collection, or know what might cause this kind of inconsistent behavior? Any guidance would be appreciated. Thanks! MeaganMeaganUTSWFeb 10, 2026Copper Contributor183Views1like6CommentsDocument libraries added programmatically as tabs to Shared Channels are not visible
With the recent Teams UX updates, any document libraries added programmatically to Shared Channels no longer appear in the Teams interface even though they do show up when queried through PowerShell. Following the guidance in https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs%22https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs%22https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs%22https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs%22as well as the approaches I outlined in my blog post https://reshmeeauckloo.com/posts/powershell-teams-add-documentlibrary-as-tab/%22https://reshmeeauckloo.com/posts/powershell-teams-add-documentlibrary-as-tab/%22 using Microsoft Graph or PnP PowerShell, the tabs still fail to surface in the new Teams experience. The behaviour is inconsistent: The same tab‑creation methods work perfectly in standard channels. They also work for users who haven’t yet received the new Teams UX. And if the document libraries are added manually, they appear as expected in shared channels. At the moment, I’m trying to determine whether there is a supported way to add document library tabs to shared channels programmatically so that they remain visible in the new Teams interface. Any insights or confirmed workarounds would be appreciated.reshmeeaucklooFeb 10, 2026Brass Contributor25Views0likes0CommentsConditional formatting not possible
Hello together, SharePoint isn't displaying the relative date options "in 7 days" and "in 14 days," even though I've selected "is on or before." Normally, clicking "Today (relative)" should bring up a dropdown menu. But it doesn't! What could be causing this? ThxPenelope680Feb 09, 2026Copper Contributor44Views1like2CommentsAudience Targeting for News not working at Hub Site level
We have a Hub site and are pulling in news from sites associated with the Hub. I have set targeted audiences on those news articles and have tested the functionality on the sites themselves - the audience targeting seems to work fine. However, at the hub site level, pulling the news from those sites into a news web part, when I enable the audience targeting feature, no action is taken. It doesn't appear the audience targeting functionality is working in this scenario. Is this expected behavior?Pam DeLungFeb 09, 2026Copper Contributor11KViews0likes27CommentsFile Type Version Limits
Hi all, In trying to solve an old issue I stumbled across this new feature currently in preview and am wondering if the file type arrays will be editable or if new arrays could be or will be added? I have a handful of file types which do not need 100 versions, let alone a version every 2-5 minutes, requiring frequent culling... Ling. https://learn.microsoft.com/en-us/sharepoint/file-type-version-limits15Views0likes0Comments
Resources
Tags
- SharePoint Online18,233 Topics
- Document Library3,206 Topics
- Lists3,127 Topics
- Sites2,599 Topics
- admin2,243 Topics
- sharepoint server2,042 Topics
- Permissions1,982 Topics
- files1,721 Topics
- developer1,603 Topics
- microsoft lists1,571 Topics