Delivering your corporate applications can be a nightmare if you dont have a enterprise delivery solution like System Center or 3rd party mechanism.
So let’s see how Azure Blob Storage and Microsoft Intune can address this issue by using a storage location and PowerShell script.
Azure Storage Account
One of the requirements for this solution is an Azure Storage Account within your Azure subscription, this account will be used for storing the applications which you would like to roll out to your Windows 10 desktops that are managed using Microsoft Intune.
Specify the required settings within the Basic tab for creating a Storage Account.
Using the default settings as shown below
Click Review and Create Click Create
Configuring Storage Account with required Applications
Click Container Specify the Name Select Conditioner (anonymous read access for containers and blobs) under Public Access Level
Select your container Select Upload Select the files you want to upload Modify the block size if it’s less than the size of the files you are uploading Select Upload
Once the files are upload they all have a unique url which is used to identify the file as shown below. This will be required later for the PowerShell script.
The PowerShell Script!!!
This script has been made available on GitHub, you will need to modify the following;
$bginfo64 and $layout to reference your Azure Blob Storage for each file
Step #4: The final step is to envoke the Save() method to save your shortcut.
# Create a Shortcut with Windows
PowerShell$SourceFileLocation = "$env:SystemRoot\System32\notepad.exe"
$ShortcutLocation = "$env:userprofile\Desktop\Notepad.lnk"#New-Object :
Creates an instance of a Microsoft .NET Framework or COM object.
#-ComObject WScript.Shell: This creates an instance of the COM object that represents the WScript.Shell for invoke
CreateShortCut$WScriptShell = New-Object -ComObject WScript.Shell$Shortcut = $WScriptShell.CreateShortcut($ShortcutLocation)
$Shortcut.TargetPath = $SourceFileLocation
#Save the Shortcut to the TargetPath
Launch your SharePoint Admin Portal to create a new home site. Under Sites, click Active sites and create
Select Communications Site
You can use a predefined site design or create a new layout from blank. – Provide Site Name, which generates a URL which will be required later in this article. – Provide Site owner, an administrator you can administers the site. Click Finish
# Install SharePoint Online Module
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
# Connect to SharePoint Online
$cred = Get-Credential
Connect-SPOService -Credential $cred -Url 'https://skypeme-admin.sharepoint.com/'
# Get Home Site
# Set Home Site
Set-SPOHomeSite -HomeSiteUrl 'https://skypeme.sharepoint.com/sites/Connections'
Share Site with your organization
Once the site has been created you will need to provide access to the relevant people within your organization. So first of all, you need to open the new site and click Share
Microsoft has made it very easy to share the site with everyone in the organization and prevent external sharing. If you type “Everyone” into the search as shown below you will see the required group (Everyone except external users) or you could add your own Security groups/users.
Untick “Send email” and click “Share”
Customizing the Global Navigation tab
This is an optional element to complete and for this post I am only going to point you at the Microsoft documentation.
Switch on Enable Global Navigation and change navigation source to Home site.