Useful Powershell: Login to Office 365 via Powershell

Launching Powershell to manage Office 365 means you need to login via Windows Azure Active Directory Module.

I use this Powershell script to get things started:

The last two line simply let me visually see that I have a connection. I like a little feedback from the console to let me know the plumbing is working.

Useful Powershell: Get-OwaMailboxPolicy

Viewing or Updating Mailbox policy for the Outlook Web App is done using a pair of commands.

You might want to limit ability of users to open attachments of a specific file type, say Word or PowerPoint.

Example of using the management shell to view current policies.

More on Technet

Example of enabling calendar access in the default mailbox policy.

More on Technet

Useful Powershell: New-ActiveSyncDeviceAccessRules

This Command Only applies to On-Premises Exchange 2013. (Not Exchange Online)

Use this command to block access to specific Active Sync Devices.

Example 1

This example creates device access rules that blocks access for iPhones that are running iOS version 6.11

More Info on Technet

Useful Powershell: Set-OwaMailboxPolicy

Powershell is a important tool for Office 365 and On-Premise Exchange Administrators.

Here’s some example of the use of: Set-OwaMailboxPolicy

Example 1
This example disables access to the Tasks Folder.

Example 2
This example changes the allowed file types in Outlook Web Access

 

WordPress on Azure

If your going to build your Cloud Solution using the Microsoft stack, you should insure that you know how to use Microsoft Azure for your hosting. In the past I’ve created dozens of blogs and landing pages on Linux based servers using WordPress and PHP based page builder. Mostly because it was a painless and fast install to get the WordPress¬† CMS installed and up and running.

Moving to Azure seemed like a lot of work, but I was wrong. The fact is hosting a WordPress blog is quick and as easy as it was on the Linux.

Here’s a great walk-through by Tom FitzMacken that helped me get my WordPress Blog running as a Azure based app.

Just a quick reminder if you are setting a custom domain to point at your new Azure Website, you need to configure the Custom Domain and verify it using the Custom domains and SSL settings blade. In my experience creating an A Record or CNAME in your DNS was enough to get things working on my Linux host. But Azure wants to insure you own the domain, so it will verify the existence of the CNAME before you are allowed to use it.

Don’t change the WordPress Address (URL)/Site Address (URL) until you have successfully verified you custom domain with Azure. Doing so will require a bunch of extra work to get¬† your WordPress Installation working.

Talk soon

Don

 

Sharing the Cloud

DonShultsHi All,

Welcome to my blog. The point of a blog is to share experiences and knowledge with a community of people that are interested in a subject.

I’ve been focused on Online Collaboration for about 25 years and I’m just starting a new Role with great company Neudesic LLC. So I thought I would take the time to start dedicating some of my time to document my experience with the Microsoft Cloud Technologies. I”ll be updating my experience in the About Section of the blog… once I get to it. But like most people in the Technology Consulting community, keeping up with the changes is a huge deal. I want to use the blog to record and share techniques that I’ve used to implement solutions in Office 365 and specifically around the SharePoint Platform.

More stuff coming soon!
Don Shults