Category Archives: Uncategorized

What is Cloud and Why (wip)

(work in progress)

 

Consider some global shifts happened in IT during last decades:

  • Service-Oriented Model
  • Virtualization
  • Automation
  • Faster Networks

All of that allows Clouds exist

Consider also

  • Fuzzy Organization Boundaries – Remote Workers
  • More Complicated Software
  • High salary for IT professional
  • Business must change faster 

All of that lead to Clouds concept

Imagine ideal Data Center – where everything is automated and where you can find any service… 
How much it will cost to build that Data Center?

 

 

TBC…

Search-for-a-crawled-property

Search schema: Search for a crawled property name wildcard

 

If you are managing SharePoint search, specifically if you are customizing SharePoint search schema, especially in SharePoint Online (Office 365) – you know how slow it works and how tiresome it is to “Search for a crawled property name”.

Search-for-a-crawled-property

Recently I found out that wildcard works. No, even two wildcards work

In this example I need crawled property started from ows and contains doc and type:

SharePoint search through crawled properties

 

SharePoint and Artificial Intelligence

Cognitive Search – Azure Search with AI – 15 minutes video by Scott Hanselman and Rob Caron

Follow the blogs:

Chris McNulty, Microsoft – Enrich your SharePoint Content with Intelligence and Automation

Eric Dixon, Microsoft – Intelligent Search: Adding AI to SharePoint Search

David Lavenda, Harmon.ie – Is Microsoft Search the Solution to Finding Information in Office 365?

 

SharePoint powershell automation, DSC and DevOps

Automation is not the same as DSC and DevOps.

Automation is about changing existing process – to enable it start and work automatically, without human attendance, i.e. faster and more stable. The good example is site collection provisioning. 

DevOps is an idea to manage infrastructure configuration via code with well-known and proved developers practices – ADLC, version control etc. 

DSC is only one of many tools that allows SharePoint to be provisioned and managed via declarative CaC – Configuration as Code. You can think of provisioning SharePoint farm with DSC an automation too. 

Powershell is a scripting language that can be used for Automation (imperative way). DSC uses PowerShell syntax, but it is more than PowerShell. 

 

 

UPA to UIL sync

[Microsoft.Office.Server.UserProfiles.WSSProfileSynch]::ScheduleSiteForFullSynchronization()

[Microsoft.Office.Server.UserProfiles.WSSProfileSynch]::ClearSyncDataForContentDatabase()

 

SPO vs SharePoint on-prem

Microsoft “cloud first” initiative led us to the situation where SharePoint on-prem (SharePoint 2019) is just a branch (sub-project) of SharePoint Online project.

So “Hybrid” SharePoint environment is just a combination of two similar products – one in on-prem and the other one – in the cloud.

TBC…

Office Online Server (OOS)

Office Online Server unattended setup

Scenario:
1) you need to install Office Online Server as a part of process (Powershell script or DSC configuration)
2) you cannot use system (C:) drive. I.e. OOS must be installed on, e.g. D: drive

Solution: use “config.xml”.

Config.xml example:

<Configuration>
    <Logging Type="verbose" Path="d:\tmp" Template="OOServerSetup(*).log"/>
    <Display Level="none" CompletionNotice="no" />
    <INSTALLLOCATION Value="d:\Program Files\Microsoft Office Servers\"/>
    <Setting Id="USINGUIINSTALLMODE" Value="0"/>
    <Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>
    <Setting Id="SETUP_REBOOT" Value="Never"/>
</Configuration>

Command-line run example:

setup.exe /config d:\config.xml

Powershell script example:

Start-Process "d:\source\OOS\setup.exe" -ArgumentList "/config d:\config.xml" -Wait

Powershell DSC configuration example:

include ” <INSTALLLOCATION Value=”d:\Program Files\Microsoft Office Servers\”/>”
into “d:\source\OOS\Files\SetupSilent\config.xml”, so when your LCM will run

        OfficeOnlineServerInstall OOSInstall
        {
            Ensure = "Present"
            Path = "d:\Distrs\OOS\setup.exe"
        }

by default “d:\source\OOS\Files\SetupSilent\config.xml” will be used.

 

 

 

 

===============================================================================

references:

https://docs.microsoft.com/en-us/officeonlineserver/deploy-office-online-server

 

note: 
Install the following software:
Visual C++ Redistributable Packages for Visual Studio 2013
Visual C++ Redistributable for Visual Studio 2015
Microsoft.IdentityModel.Extention.dll
is not required?

I.e. OOS farm will work, but report Unhealthy…