SharepointOnline
4 TopicsSet-PnPUserProfileProperty with Application Permission in Azure Function
When using Set-PnPUserProfileProperty in Azure Function with Power Shell and the permissions has been defined using the Application Permission. Once connected to the admin site URL using client id, tenant and cert and try to update the User Profile Property, it throws the below error Access denied. You do not have permission to perform this action or access this resource. Attached the screenshot for the reference Below are the permissions given for the application in Azure API Permissions Hope someone already have a solution!3.6KViews1like3CommentsSharePoint Online Question - Approval Question
Hi, While trouble shooting my document control system on SharePoint I discovered an obstacle and was wondering if anyone knows a solution. I am using a document library in SharePoint online, combined with Power Automate to create a document control system with required approval flow. I have a document library "A" that triggers the power automate flow every time a document is uploaded and checked in. With the approval required setting checked, the document enters in draft mode until checked in when it becomes pending. Then when approved or rejected, becomes rejected/approved accordingly. I have document library "B" that is not part of the document control system at all, its just a document library that we use to store random files. We discovered today that if you upload a document into library "B" and use the "move to" function to move the document to library "A", the document is approved by default upon being moved to library "A". This is obviously a gap because we need the document to be initially in draft mode, regardless of if it got moved or the user uses the drag and drop method. Is there a way to force the documents into draft mode regardless of if it got moved from a different library or not? Thanks1.2KViews0likes3CommentsSharePoint custom theme toggles to a default Blue after a published site page refresh.
I have created a SharePoint subsite and applied a custom theme to it. The page looks good until I publish it. After it is published, once I refresh the page, it quickly toggles to a default blue theme. The theme was created using the custom PowerShell script as below, $themepalette = @{ "themePrimary" = "#e81a2b"; "themeLighterAlt" = "#fef5f6"; "themeLighter" = "#fbd8db"; "themeLight" = "#f8b6bb"; "themeTertiary" = "#f1707b"; "themeSecondary" = "#eb3342"; "themeDarkAlt" = "#d11726"; "themeDark" = "#b01320"; "themeDarker" = "#820e18"; "neutralLighterAlt" = "#f8f8f8"; "neutralLighter" = "#f4f4f4"; "neutralLight" = "#eaeaea"; "neutralQuaternaryAlt" = "#dadada"; "neutralQuaternary" = "#d0d0d0"; "neutralTertiaryAlt" = "#c8c8c8"; "neutralTertiary" = "#595959"; "neutralSecondary" = "#373737"; "neutralPrimaryAlt" = "#2f2f2f"; "neutralPrimary" = "#000000"; "neutralDark" = "#151515"; "black" = "#0b0b0b"; "white" = "#ffffff"; } Add-SPOTheme -Identity "ThemeName" -Palette $themepalette -IsInverted $false815Views0likes0CommentsHow to count number of lines and words in a SharePoint online Page
I am requested to generate a report that illustrates the number of pages and plus the count of words on each page, and the number of files in that site (word, PDF, images..etc.). Is there any custom tool that i can use to enter my SharePoint site URL and then it will generate me the report i'm looking for Or if you think SharePoint Powershell can help with this, please share your ideas with me. Thanks You3.6KViews0likes1Comment