SharePoint Online Management Shell
4 TopicsA Guide to Change SharePoint Domain Name Using PowerShell
Are you troubled about your old domain name after the brand change of your company? Fortunately, you can now easily change the SharePoint or OneDrive URL using Microsoft PowerShell to maintain a consistent domain name in your organization. PowerShell provides simple cmdlets to initiate, check and stop the SharePoint domain name operation in your Office 365 environment. Using the below blog, you can get immediate assistance to change your domain name with the new custom domain and start confidently building your brand today! Let's dive deeper into SharePoint domain rename in detail. https://m365scripts.com/sharepoint-online/a-guide-to-change-sharepoint-domain-name-using-powershell/852Views0likes0CommentsSharePoint 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 $false847Views0likes0CommentsHow to reset SharingAllowedDomainList and SharingBlockedDomainList in tenant
Once I updated SharingAllowedDomainList and SharingBlockedDomainList property using Set-SPOSite for test purpose. Set-SPOTenant -SharingAllowedDomainList "example.com" -SharingBlockedDomainList "example.com" Now that the test is over, I tried to reset these properties but I could not it. Set-SPOTenant -SharingAllowedDomainList "" -SharingBlockedDomainList "" The cmdlet causes an error. Set-SPOTenant : Adding an empty domain name I also tried from SharePoint Admin Center, but could not clear the properties. How to fix it?Solved1.9KViews0likes1CommentSharePoint Online Management Shell install issues
I am on a Windows 10 system, local admin. I go to run SharePointOnlineManagementShell_20616-12000_x64_en-us.msi I accept the license agreement and ..... then nothing. I see in taskmanager msiexec.exe I logged on as my admin account (I log on with my user account) and then did the same, I was prompted for a username and password and the program installed. Seems then it is MY user account. I go to Pwsh.exe - PowerShell 7.1.0 and run as admin, I get the Consent prompt, and click Yes - UAC. Administrator: Pwsh.exe I tried to copy it from my c:\users\%username%\desktop folder to say c:\intel to see if it was causing issues... I go to run SharePoint Online Management Shell Setup. I click accept terms. Install. It disappears. If it was the UAC, wouldn't it cause me to have the issue WHEN I launched PowerShell 7.1.0? Again, when I logged off it worked. I can't seem to get it to work for ALL users, it seemed to only work for that user account, or I would be happy. I do NOT see it listed in Programs and Features or now Settings - Apps. When I right click the MSI and go Repair - This action is only valid for products that are currently installed. I see it listed in my start menu, yet I go to Uninstall, it takes me back to "Apps" and nothing is listed. Is there any listing that shows the locations to remove or a way to resolve this without renaming the account. I logged on as my admin account and seemed to mess it up as well. Now both show the command prompt and never get past the flashing cursor. Ctrl-C closes the program, which I was hoping would try to kick start it to "acknowledge" that it is was supposed to be working. Thank you!1.7KViews0likes1Comment