What are these Office 365 URLs about?

Admin Portal Home: https://portal.office.com/adminportal/home

Under that, the different Admin Centers’ URL naming convention is in a quite mess.

Exchange is https://outlook.office365.com/ecp/?rfr=Admin_o365&exsvurl=1&mkt=en-US&Realm=yourcompanyname.onmicrosoft.com

Skype for Business is https://adminca1.online.lync.com/lscp/?language=en-US&tenantID=yourtenaneid

SharePoint is https://yourcompanyname-admin.sharepoint.com/

Under SharePoint, there is an OneDrive document repository for every user: https://yourcompanyname-my.sharepoint.com, it actually resolves to https://yourcompanyname-my.sharepoint.com/personal/yourname_yourcompanyname_onmicrosoft_com/_layouts/15/onedrive.aspx. Other than that, there are sites and teams, and the new stuff – groups.

Default site collection: https://yourcompanyname.sharepoint.com/

Video Portal: https://yourcompanyname.sharepoint.com/portals/hub

Community: https://yourcompanyname.sharepoint.com/portals/community

Search: https://yourcompanyname.sharepoint.com/search

Compliance Policy Center: https://yourcompanyname.sharepoint.com/sites/CompliancePolicyCenter

OneDrive is https://admin.onedrive.com/

PowerApps is https://admin.powerapps.com/

Flow is https://admin.flow.microsoft.com/

Security & Compliance is https://protection.office.com/

Azure AD is https://go.microsoft.com/fwlink/?linkid=849449

 

Advertisements

Free Microsoft Official Training Resources

Microsoft Virtual Academy

https://mva.microsoft.com/

https://mva.microsoft.com/help.aspx

https://mva.microsoft.com/learningpaths.aspx

Eval Center

https://www.microsoft.com/en-us/evalcenter/

Hands-on Labs

https://www.microsoft.com/handsonlabs

https://moac.microsoftlabsonline.com/Account/FAQ

http://techgenix.com/microsoft-virtual-labs/

Azure

https://mva.microsoft.com/product-training/microsoft-azure#!lang=1033

https://azure.microsoft.com/en-ca/training/

https://azure.microsoft.com/en-us/training/

https://azure.microsoft.com/en-us/blog/

https://docs.microsoft.com/en-us/azure/

https://docs.microsoft.com/en-us/azure/architecture/guide/

Office 365

https://docs.microsoft.com/en-us/microsoft-365/

https://docs.microsoft.com/en-us/microsoft-365-enterprise/

https://technet.microsoft.com/en-us/office/dn788774.aspx

https://technet.microsoft.com/en-us/library/dn127064(v=office.14).aspx

https://support.office.com/en-us/article/Enterprise-organizations-and-Office-365-6e18d402-f35e-415a-83b1-56620d4074ff

MS Feeds

Wiki: https://social.technet.microsoft.com/wiki/contents/articles/3203.wiki-cloud-portal.aspx

Blog: https://blogs.technet.microsoft.com/

Video: https://channel9.msdn.com/

Free books

This is a MVA link to a number of free Microsoft Press books, but it hasn’t been updated since a year ago, kind of outdated: https://mva.microsoft.com/ebooks.

I would recommend this link from Eric Ligman, updated every summer, huge number of books, there is even a PowerShell script that you can download them all at once: https://blogs.msdn.microsoft.com/mssmallbiz/2017/07/11/largest-free-microsoft-ebook-giveaway-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepo/

This site has quite a few rich format content regarding SharePoint:

https://threewill.com/resources/threewill-blog/

Hi Hadoop!

Heard Hadoop for many times, never got deep into it. Now is a chance, so I started the experiment in Microsoft Azure.

First, you can find a number of Hadoop packages in Azure Marketplace. I chose Hortonworks Sandbox with HDP 2.5.  I tried Hadoop by Bitnami as well, but it’s usability is a bit tricky, I couldn’t find a way to make Bitnami work without creating a number of accounts and expose more of my own information. I may try it later (and enable the boot diagnostic to find the password in the log when the image starts the first time) when I have time. For now, I stick to Hortonworks.

image

Then just follow the standard Azure procedure –

  • Basics: filling in the VM name, username, SSH key or password, subscription, resource group, location, etc.
  • Size: choose the size of the VM.
  • Settings: choose the storage, network, etc. I suggest to leave boot diagnostics enabled.
  • Confirm on the Summary and Buy.

Notice that on the price page, there is warning on the charge besides the Azure VM itself, also since the HDP Sandbox just showed 0.0000 CAD/hr, I don’t think you need to worry too much about it. BTW, Bitnami’s Hadoop is also free, explicitely mentioned.

image

Wait for a few minutes until the deployments succeeds. You can then check the status of your new Hadoop VM.  Hortonworks suggests that you make the public IP static. You can find more detail information on its tutorial page.

Next is to configure your SSH client. I am using PuTTY on Windows, so there are more mouse-clicks than the config example given in the tutorial.  Basically these settings let you connect to your VM in the Azure cloud using various ports from localhost to the remote VM via the SSH tunnel you set up here.

image

Here is how to configure PuTTY:

  • Fill in the public IP of your Hadoop VM
  • Expand Connection – SSH
  • Click Tunnels
  • Fill the source and destination, then click Add button

image

According to the document, you need to add 8 forward ports

image

So in PuTTY, you can add one by one, it should eventually look like this (scroll up and down to see total 8 lines/ports).

image

You can then go back to the Session page, give a name in “Saved Sessions” and save the configuration. Next time, you only need to load it from there.

One trick is that the VM need some time to start and become stable. My first few login attempts failed, only after 20 or 30 minutes can I eventually login. so be patient. After login, you should be able to see the following directories.

image

Then according to the tutorial, keep the SSH session active, you can use brower to visit this page on your VM.

image

Click on the left icon, you will see the dashboard.

image

Click on the right, you can read more advanced topics including the default username and password, and how to change them.

That is the first step into Hadoop.

PowerShell for Azure Active Directory (AAD) and Office 365

Well, this is just some notes on how to prepare PowerShell to manage Azure Active Directory and Office 365. But similar to connecting to AD in Azure, you also need to go through these steps to connect PowerShell to an Azure subscription.

This is quite interesting actually when I put them together. As AAD still has two active environment versions, same as Azure console – Classic and RM – they belong to different logins, a little confusing to admins. Also PowerShell modules need to be installed and updated to enable different cmdlets set in order to manage different products – cloud, non-cloud, 3rd-parties like AWS, etc. So when something is not working, maybe you are in a wrong dimension or Microsoft wants you to update the binary you are using.

Azure Subscription AAD Module v1 (MSOnline)
– General Availability version
– Public Preview version
AzureAD v2
– General Availability version
– Public Preview version
Pre-requisites:
– Install lastest Azure Tools using Web Platform Installer
> Add-AzureAccount
> Get-AzurePublishSettingsFile
image
> Import-AzurePublishSettingsFile
> Select-AzureSubscription
Pre-requisites:
MS Online Services Sign-in Assistant
Windows AAD Module for Windows PowerShell
Pre-requisites:
PowerShellGet
image
Step 1: Install Azure PowerShell
Install-Module AzureRM
Download and install Azure AD Connect (.msi)
Update AAD Module > 1.0.8070.2
Download from PS Gallery
Install AAD Module
Update AAD Module
Step 2: Connect to an Azure account
Login-AzureRmAccount
Connect to Azure AD

$Msolcred = Get-credential
Connect-MsolService -Credential $MsolCred

Connect to AAD

$AzureAdCred = Get-Credential
Connect-AzureAD -Credential $AzureAdCred

Step 3: Run Azure PowerShell cmdlets

v1 cmdlets are here v2 are here
More information: PowerShell Gallery Office 365 PowerShell

One more thing: remember to check the update time of anything posted online, those older than 3 months might be useless.

Web Role v.s. Worker Role

Azure Cloud Service Role is classic, old style, one of those you won’t see updated counterpart in new Azure Resource Manager (ARM).  In Azure, a Cloud Service Role is a collection of managed, load-balanced, Platform-as-a-Service (PaaS) virtual machines that work together to perform common tasks. Cloud Service Roles are managed by Azure fabric controller and provide the ultimate combination of scalability, control, and customization.

Web Role and Worker Role are under Cloud services (classic).

cs_diagram

Web Role is a Cloud Service role in Azure that is configured and customized to run web applications developed on programming languages / technologies that are supported by Internet Information Services (IIS), such as ASP.NET, PHP, Windows Communication Foundation and Fast CGI.

Worker Role is any role in Azure that runs applications and services level tasks, which generally do not require IIS. In Worker Roles, IIS is not installed by default. They are mainly used to perform supporting background processes along with Web Roles and do tasks such as automatically compressing uploaded images, run scripts when something changes in database, get new messages from queue and process and more.

Differences between Web and Worker Roles – The main difference between the two is that a Web Role support and runs Internet Information Services (IIS), while an instance of a Worker Role does not.

References:
https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-choose-me
http://cloudmonix.com/blog/what-is-web-and-worker-role-in-microsoft-azure/