Office 365 admin roles

 

I see confusion when it comes to Office 365 administrator roles. Let’s make things clear!

There are following types of admin roles for Office 365:

Administrator type Functions
global can do and has access to everything
billing makes purchases, manages subscriptions, manages support tickets, and monitors service health
password can only reset user passwords
user management resets passwords, monitors service health, adds and deletes user accounts, manages service requests
service used to open support tickets with Microsoft; has view only permissions
Exchange/Skype for Business/SharePoint/Power BI service manages the respective service

Admin roles can be assigned to users from the Office 365 portal or via PowerShell.

In the Office 365 portal

  1. Switch to the admin center.
  2. Select users > Active users.
  3. Click Add a user (for new users) or Edit a user (for existing users) > Roles.
  4. Select the desired admin roles.

This is a screenshot when adding a new user:

adduser

Using PowerShell

Add-MsolRoleMember -RoleMemberEmailAddress  <String> -RoleName <String>

Example:

Add-MsolRoleMember -RoleMemberEmailAddress  “john.doe@itconsultpro.com” -RoleName “SharePoint Service Administrator”

 

To get the list of all values for the RoleName parameter, use the Get-MsolRole cmdlet.

Add a filter on the results to retrieve only the administrator roles:

Get-MsolRole | Where-Object {$_.Name -like ‘*administrator*’}

Share a new WordPress blog post to Facebook newsfeed automatically with Microsoft Flow

 

Whenever you publish a new blog post on WordPress, the good news can be automatically shared on your Facebook timeline. With Microsoft Flow, part of the Office 365 suite. Here is how:

1. Your Microsoft Flow needs to authenticate to WordPress and Facebook. Create connections for each account.

a. Login on the Office 365 portal.

b. Select the Flow tile from the App Launcher.

2

c. In the settings menu at the top-right of the screen select Connections.

01

d. On the My connections page click Create Connection. 

02

e. In the list of Available connections, select the connection that you want to set up, such as Facebook or WordPress. Then, enter your credentials to set up the connection. Click Approve to allow Flow to login on your behalf.

5

2. Create a new blank flow.

Go to a modern SharePoint list and select Create a flow.

1

Alternatively on the Office 365 portal select My flow and Create from blank.

6

3. Add the needed actions and conditions.

a. Look for the action WordPress – When a post is created.

7

b. Click New step and Add an action.

8

c. Select Facebook – Post to my timeline and add your customized status message.

9

4. Save the flow and it will get automatically enabled.

TIP

Actions displayed when adding new steps are filtered on the ones compatible with the flow logic. You can still manually search for and add other actions, but these will eventually not work.

e.g. at the time of this writing, posting to a SharePoint page fails with the message 200 Insufficient permission to post to target on behalf of the viewer

10

 

Track Facebook posts with Microsoft SharePoint and Microsoft Flow

Recently, a new cloud service for automating workflows between different apps and services was released – Microsoft Flow. You can get notifications, synchronize files, collect data and more, and have plenty of services that you can to choose from.

Many times we were asked for an easy-to-use tool to track the company’s Facebook timeline. If Office 365 is already in place, Microsoft Flow is a quick option. The prebuild template Save updates from Facebook to a SharePoint List will do most of the job, but you can create your own template and adapt it to your business needs. e.g. create a new SharePoint item for each new Facebook post mentioning “blackfriday” or “ticket” and then use the SharePoint list for further operations

How it works:

1. To retrieve data from Facebook or any other service, your Flow needs to authenticate. You should create a “Connection” to Facebook:

a. Login on the Office 365 portal.

b. Select the Flow tile from the App Launcher.

2

c. In the settings menu at the top-right of the screen select Connections.

01

d. On the My connections page click Create Connection.

02

e. In the list of Available connections, select the connection that you want to set up, such as Facebook. Then, enter your credentials to set up the connection.

2. Go to a modern SharePoint list and select Create a flow.

1

3. Select Create a blank flow.

4. Add the needed actions and conditions.

3

5. Save the flow and it will get automatically enabled.

In the current example, we will get a new item created for each new post containing the word “ticket”.

4

Other Flow templates for SharePoint which caught my attention:

The full list with SharePoint Flow Templates to be found here: https://flow.microsoft.com/en-us/services/shared_sharepointonline/sharepoint/