Forum Widgets
Latest Discussions
Get-PnPSiteTemplate: The remote server returned an error: (403) Forbidden
I want to copy one site collection from one tenant to another, so on the source tenant, I created this App Registering and I grant it full control on SharePoint:- And I define to use secret for the authentication:- Then I run this command:- Connect-PnPOnline -Url "https://****.sharepoint.com/sites/****Integration" -ClientId "***" -ClientSecret "ptv**" Connecting with Client Secret uses legacy authentication and provides limited functionality. We can for instance not execute requests towards the Microsoft Graph, which limits cmdlets related to Microsoft Teams, Microsoft Planner, Microsoft Flow and Microsoft 365 Groups. You can hide this warning by using Connect-PnPOnline [your parameters] -WarningAction Ignore then i got this error, when i tried to Get the site template:- Get-PnPSiteTemplate -Out "Integration.xml" Get-PnPSiteTemplate : The remote server returned an error: (403) Forbidden. Any advice? i remember i did this operation 1 year ago and it worked well. Thanksjohnjohn-PeterDec 21, 2024Iron Contributor17Views0likes0CommentsAdding an 'Events List' as a List Webpart
Possible at all/is there a workaround? I am trying to put an Events List and a List on one page. The idea is to let users view/add to both on one page. The problem: when adding a list webpart, the events list I need doesn't appear as an option. I searched the forums and did not find a clear solution. Is this possible at all? If I run an automate flow to push entries and changes back and forth to a duplicate list and an events list that would be recursive. Currently have a 'Webpart Tabs' webpart with a placeholder standard list on the top: Titled 'Events List A'. I want to put the actual events list in its place. Happy holidays and thanks!cellardoor48Dec 19, 2024Occasional Reader12Views0likes0CommentsNews Pages and Sharing
Hello! We have a few employees who have been trying to share news article pages from our News Hub using the 'Share' button. Since all employees have 'read only' access to the site, it's triggering an email to the site owner to approve the employee can share. Has anyone else experienced this as well. Wondering if this feature is not working properly. For now, I'm having employees just copy the URL and send it to other employees via email to share.Jovana_RodriguezDec 19, 2024Copper Contributor4Views0likes0CommentsList of members of SharePoint sites
Hello, We have a client who wants a generated list of SharePoint site members. I have a powershell script that gets the sites and users within the Membership groups but not users just listed under Members. Is there a reason why the users under members aren't seen and if there's anything that I can do to the script to get it to see the users? The script is in the word document as I tried the embeded code and it went mad. Any help will be greatly appreciated.tomwrigglesworthDec 19, 2024Copper Contributor14Views0likes0CommentsCreating an exported report of members
# Define the tenant $tenant = "testing" # Ensure the output directory exists $outputDir = "C:\temp" if (-Not (Test-Path -Path $outputDir)) { New-Item -Path $outputDir -ItemType Directory } # Connect to SharePoint Online try { Connect-SPOService -Url "https://$tenant-admin.sharepoint.com" Write-Host "Connected to SharePoint Online." } catch { Write-Host "Failed to connect to SharePoint Online: $_" exit } # Get all site collections try { $sites = Get-SPOSite -Limit All Write-Host "Retrieved site collections." } catch { Write-Host "Failed to retrieve site collections: $_" exit } # Loop through each site foreach ($site in $sites) { try { # Get the current date and time $dateTime = Get-Date -Format "yyyyMMdd_HHmmss" # Define the site URL $siteUrl = $site.Url # Get the users and export to CSV $users = Get-SPOUser -Site $siteUrl if ($users) { $filePath = "$outputDir\$($site.Title)-$dateTime.csv" $users | Select-Object * | Export-Csv -Path $filePath -NoTypeInformation Write-Host "Exported users for site $($site.Title) to $filePath." } else { Write-Host "No users found for site $($site.Title)." } } catch { Write-Host "Failed to process site $($site.Url): $_" } } Write-Host "Export completed for all sites."tomwrigglesworthDec 19, 2024Copper Contributor6Views0likes0CommentsSharePoint List Flow - Displaying Unique ID
I have create a flow to populate a word document and email the user. It is working great, except certain fields the word document populates with the Sharepoint unique ID string. How can I get this formatted to use just the text in that field?RFultonDec 19, 2024Copper Contributor34Views0likes3CommentsSPO "Item not found"
Greetings! Our partner has a SPO modern team site. There is a document library with Document content type, which has an SPFx custom form. The documents are uploaded to the library in bulk, then they use the custom form to fill out the metadatas one by one. PnP JS list.items.getById(1).update() method is used to save the metadatas, but the document are not moved or renamed. After the successful save, the page is reloaded with the window.location.reload() method. But after reloading a page, sometimes they get an error message: "Item not found. It might have been deleted or renamed by another user". Then it takes some minutes or even hours, before they can once again open the form. Any help would be much appreciated.warrenbarton9Dec 18, 2024Copper Contributor33Views0likes1Comment
Resources
Tags
- SharePoint Online17,535 Topics
- Document Library2,998 Topics
- Lists2,939 Topics
- Sites2,408 Topics
- admin2,158 Topics
- SharePoint Server1,968 Topics
- Permissions1,885 Topics
- files1,601 Topics
- developer1,494 Topics
- Microsoft Lists1,417 Topics