Microsoft Office 365 groups and Office 365 teams Expiry

Yesterday Microsoft has introduced a feature within Office groups to set an expiry date. What does this means.

What does this mean

This means that you can set a 30 days expiration of a group. When the experation date is passed the owner of the group gets a notification to renew the expiration date for another 30 days or even more.

un1

How do i configure this Group Expiry

You can set the expiration of Office groups in Azure Active directory.

Untitled

When you’re not setting a new expiration date the group will be removed and put into soft deleted. If a group is deleted this can be a real pain for the members of this team or group when this was not the intention.

See my post How to restore a group on how to restore a office group.

Please follow and like us:
error

How to restore Office 365 group

Some of you probably know that it was not possible to restore data in a office group within office 365. Recently microsoft introduced the new functionality to restore office 365 group or team. This means that you can restore a office Group including all content.

Sometimes a removal of a group can really be a pain for the members in this group or team.

First of all a tip on restore Office 365 Group.

Don’t use Remove-MsolGroup because it purges the group permanently. Always use Remove-AzureADMSGroup to delete an O365 group.

When you start with this topic make sure you have Azure Active Directory PowerShell Version 2 installed else you will mis alot of cmdlets. You can download it from the site of Microsoft. The new version of powershell also contains a lot of new features regarding azure ad. You can also use the command connect-azuread to connect directly into office 365.

To get all removed Office 365 Groups execute the command below

Get-AzureADMSDeletedGroup

Before you want to restore the group or team you need to get more details about the removed office 365 group to get more insights into the group or team. You can also get the object id from here .

Execute the Get command included with the objectID of the removed group. you can also look up the objectid in azure ad.

Get-AzureADMSDeletedGroup –Id <ObjectID>

How to restore your deleted Office 365 group

Once you have verified that the group is in soft deleted, the restore command will restore everything in the office group. (it can take up to 2 days to restore everything) I know this can take a long time and you cant see the status of the restore but the wait is worth the effort.

Restore-AzureADMSDeletedDirectoryObject -Id <ObjectID>

I think you will use this a lot when you manage a office 365 tenant

Please follow and like us:
error

Office 365 B2B Guest invites with Powershell (without invite email)

Intro add guest user in office 365 with B2B

Sometimes you need to let external users get access to your Office 365 tenant . When this is one user you can just invite the user from the site (Office 365 B2B Guest invites). But what will you do when you need to give access to lots of users without a invite.

In this article i explain how you can add multiple users (10, 100, 1000, 10000 ) as a guest to you office 365 tenant.

First of all you need to do the manual invite Once and give the user you have invite 2 roles.

  1. Usermanagement
  2. Invite guests

The invite guests role explains itself, but you need the usermanagement for changing attributes or removing the user from the tenant.

Ok lets start with Office 365 B2B Guest invites

Invite a users from your source tenant in your destination tenant. When you have done this the user should be in your office 365 tenant under guest with a name like.

user_domain.com#EXT#@j3rmeyerDEV.onmicrosoft.com

When you have checked this you can execute the following command to give the right permissions to that user.

Add-MsolRoleMember -RoleObjectId 95e79109-95c0-4d8e-aee3-d01accf2d47b -RoleMemberEmailAddress “user_domain.com#EXT#@j3rmeyerDEV.onmicrosoft.com”
*note: the invited user gets an email which he needs to accept so for testing purposes give him a Exchange online license.
OK now we have done this you can check this in AzureAD under Map role under the user account and it should be looking like this (sorry for the Dutch).
Untitled
Oke so now we have created a invite account in the destination tenant which is allow to invite users from his Own tenant into your tenant. And the good part is that the users he will invite will not get a Invitation email when you execute the following powershell command.
#Connect to destination tenant with the credential of the inviter account (yes i know you can use a keyfile)
$Username = “Inviteraccount”
$Password = “Inviteraccount password”
$PasswordSecured = Convertto-SecureString –String $Password –AsPlainText –Force
$UserCredential = New-object System.Management.Automation.PSCredential $Username,$PasswordSecured
Connect-AzureAD -Credential $UserCredential -TenantDomain “j3rmeyerDEV.onmicrosoft.com”
#Invite the user
$newuser = New-AzureADMSInvitation -InvitedUserEmailAddress “user2@domain.com” -InvitedUserDisplayName “User2” -sendinvitationmessage $false -InviteRedirectUrl “https://j3rmeyerdev.sharepoint.com”

In a following blog post i will show you how you can easily loop true the users in Activedirectory and add them as a guest without a invite in you Office 365 tenant.

Please follow and like us:
error

When do i use Onedrive and when to use SharePoint

Often I get the question when you save a file in OneDrive or in SharePoint, this is a common question from customers and colleagues when doing a migration. This is mainly because you can use both platforms to store files and collaborate. Yet there are major differences in the platforms which may affect the way you work significantly.

Save files to OneDrive for business

OneDrive for Business is an application that allows to save files locally and in the Cloud. From OneDrive for Business it is possible to synchronize files across multiple devices and share those files with others.
But when do I put the files in OneDrive for business and when do I store it in SharePoint Online.
Below you find a number of reasons when you use OneDrive:

• If you do not plan to share them with others.
• A small group of people working on files.

When you work on files that are not directly related to a project and are only important for you but you want the ease to share with others. Then you can make the best use of OneDrive.

Save files to a SharePoint team or project site library

A SharePoint site is a place where users can collaborate on files and ideas. The team site is set up so that users of the team site can communicate with each other. In addition, a team site is more like workflows wiki’s and the task functionality so that the team can work better together.

• You want to place a file on the team site when it is important for the team.
• If you want to have more influence on the rights which are distributed.
• If you want to use Workflows for approving documents and other files
• If you expect that all related files of the project are in the team site.
• If you want to use extended metadata and this will trigger a checkin and check out

A Project site is designed so here are the key components to run a project.
• You want to place a file on the project as it is important for the project.
• If you want to have more influence on the rights which are distributed.
• If you want to create tasks for team members which have linked a document.
• If you expect that all related files of the project are in the team site.
• If you want to use extended metadata and this will trigger a check in and check out
• If you want a place where you can run your basic project management and have features like tasks and timeline at your disposal.

In some cases, you can make the best use of Office Groups. The Groups functionality includes a OneDrive for business that focuses on a small set of people. Groups is actually a SharePoint team site with the functionality of OneDrive for Business and SharePoint library. Where you have a calendar, email address and OneDrive will also now added Yammer. In the modern teamsite the Group functions are also offered in a team site.

Please follow and like us:
error

Restore Office 365 Video Portal Hub

Office 365 changes al the time, I tried to see if I could Disable the Video Portal, to test what happens if you delete de Video Portals.

En my Tenant Admin for SharePoint settings I disabled the Video Portal:

Disable Office 365 Video Portal

I saw my Video app disappear from the App Launcher. Now it is time to delete the site collections.

So at this point I am a Tenant Admin, and I want to clean my Site Collections. The Video Portal creates a few SharePoint Site Collections and one of them is named Hub. This is the main Site Collection for the Video Portal where all your videos are shown.

So I Delete the Video Portal Hub Site Collection. and delete it from the Recycle bin.

Now it is time to recreate this Site Collection? I turned the Video Portal back on using the setting above. I hoped that it would recreate the Hub but that didnt help. Only the Video App in the launcher came back with a nice 404 Page Not Found

The Solution for this issue is to go to the url Bellow

Http://tenant.sharepoint.com/_layouts/15/videoredirect.aspx

This will recreate the hub Site Collection.

Please follow and like us:
error

SharePoint online Template codes overview

you can easily use the Get-SPWebTemplate command to get a list of all the templates in SharePoint environment.

For a quick reference here is the complete list:

Title Name Description
Global template GLOB​AL#0 This template is used for initializing a new site.
Team Site STS#0 A place to work together with a group of people.
Blank Site STS#1 A blank site for you to customize based on your requirements.
Document Workspace STS#2 A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document.
Basic Meeting Workspace MPS#0 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents.
Blank Meeting Workspace MPS#1 A blank meeting site for you to customize based on your requirements.
Decision Meeting Workspace MPS#2 A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions.
Social Meeting Workspace MPS#3 A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event.
Multipage Meeting Workspace MPS#4 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements.
Central Admin Site CENTRALADMIN#0 A site for central administration. It provides Web pages and links for application and operations management.
Wiki Site WIKI#0 A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords
Blog BLOG#0 A site for a person or team to post ideas, observations, and expertise that site visitors can comment on.
Group Work Site SGS#0 This template provides a groupware solution that enables teams to create, organize, and share information quickly and easily. It includes Group Calendar, Circulation, Phone-Call Memo, the Document Library and the other basic lists.
Tenant Admin Site TENANTADMIN#0 A site for tenant administration. It provides Web pages and links for self-serve administration.
App Template APP#0 A base template for app development. It provides the minimal set of features needed for an app.
App Catalog Site APPCATALOG#0 A site for sharing apps for SharePoint and Office
Access Services Site ACCSRV#0 Microsoft Access Server
Access Services Site Internal ACCSVC#0 Microsoft Access Server Internal
Access Services Site ACCSVC#1 Microsoft Access Server
Document Center BDR#0 A site to centrally manage documents in your enterprise.
Developer Site DEV#0 A site for developers to build, test and publish apps for Office
Academic Library DOCMARKETPLACESITE#0 The Academic Library template provides a rich view and consumption experience for published content and management. Authors populate metadata and apply rules at the time of publishing, such as description, licensing, and optional rights management (IRM). Visitors of the site can search or browse published titles and add authorized selections to their collection to consume, subject to the rights and rules applied by the author. The site provides an IRM-capable document library, a publishing mechanism for authors to publish documents, detailed views for each document, a check-out mechanism, and related search capabilities.
eDiscovery Center EDISC#0 A site to manage the preservation, search, and export of content for legal matters and investigations.
eDiscovery Case EDISC#1 This template creates an eDiscovery case. Users create locations where they can preserve or export data.
(obsolete) Records Center OFFILE#0 (obsolete) This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site also lets you manage whether records can be deleted or modified after they are added to the repository.
Records Center OFFILE#1 This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site also lets you manage whether records can be deleted or modified after they are added to the repository.
Shared Services Administration Site OSRV#0 This template creates a site for administering shared services
PerformancePoint PPSMASite#0 A site for presenting PerformancePoint dashboards and scorecards. The site also includes links to PerformancePoint Dashboard Designer and storage for dashboard content such as analytic charts, reports, KPIs, and strategy maps.
Business Intelligence Center BICenterSite#0 A site for presenting Business Intelligence content in SharePoint.
SharePoint Portal Server Site SPS#0 This template is obsolete.
SharePoint Portal Server Personal Space SPSPERS#0 This web template defines a Personal Space for an individual participating on a SharePoint Portal.
Storage And Social SharePoint Portal Server Personal Space SPSPERS#2 This web template defines a minimal Personal Space with both Social and Storage features for an individual participating on a SharePoint Portal.
Storage Only SharePoint Portal Server Personal Space SPSPERS#3 This web template defines a minimal Personal Space with Storage features for an individual participating on a SharePoint Portal.
Social Only SharePoint Portal Server Personal Space SPSPERS#4 This web template defines a minimal Personal Space with Social features for an individual participating on a SharePoint Portal.
Empty SharePoint Portal Server Personal Space SPSPERS#5 This web template defines a empty Personal Space.
Personalization Site SPSMSITE#0 A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites.
Contents area Template SPSTOC#0 This template is obsolete.
Topic area template SPSTOPIC#0 This template is obsolete.
News Site SPSNEWS#0 This template is obsolete.
Publishing Site CMSPUBLISHING#0 A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes document and image libraries for storing Web publishing assets.
Publishing Site BLANKINTERNET#0 This template creates a site for publishing Web pages on a schedule, with workflow features enabled. By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets.
Press Releases Site BLANKINTERNET#1 This template creates the Press Releases subsite for an Internet-facing corporate presence website.
Publishing Site with Workflow BLANKINTERNET#2 A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site.
News Site SPSNHOME#0 A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items.
Site Directory SPSSITES#0 A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map.
Community area template SPSCOMMU#0 This template is obsolete.
Report Center SPSREPORTCENTER#0 A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information.
Collaboration Portal SPSPORTAL#0 A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as readers and is used to host team sites.
Enterprise Search Center SRCHCEN#0 A site focused on delivering an enterprise-wide search experience. Includes a welcome page with a search box that connects users to four search results page experiences: one for general searches, one for people searches, one for conversation searches, and one for video searches. You can add and customize new results pages to focus on other types of search queries.
Profiles PROFILES#0 This template creates a profile site that includes page layout with zones
Publishing Portal BLANKINTERNETCONTAINER#0 A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically, this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.
My Site Host SPSMSITEHOST#0 A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per User Profile Service Application, please consult the documentation for details.
Enterprise Wiki ENTERWIKI#0 A site for publishing knowledge that you capture and want to share across the enterprise. It provides an easy content editing experience in a single location for co-authoring content, discussions, and project management.
Project Site PROJECTSITE#0 A site for managing and collaborating on a project. This site template brings all status, communication, and artifacts relevant to the project into one place.
Product Catalog PRODUCTCATALOG#0 A site for managing product catalog data which can be published to an internet-facing site through search. The product catalog can be configured to support product variants and multilingual product properties. The site includes admin pages for managing faceted navigation for products.
Community Site COMMUNITY#0 A place where community members discuss topics of common interest. Members can browse and discover relevant content by exploring categories, sorting discussions by popularity or by viewing only posts that have a best reply. Members gain reputation points by participating in the community, such as starting discussions and replying to them, liking posts and specifying best replies.
Community Portal COMMUNITYPORTAL#0 A site for discovering communities.
Basic Search Center SRCHCENTERLITE#0 A site focused on delivering a basic search experience. Includes a welcome page with a search box that connects users to a search results page, and an advanced search page. This Search Center will not appear in navigation.
Basic Search Center SRCHCENTERLITE#1 The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation.
Visio Process Repository visprus#0 A site for viewing, sharing, and storing Visio process diagrams. It includes a versioned document library and templates for Basic Flowcharts, Cross-functional Flowcharts, and BPMN diagrams.
Global template GLOBAL#0 This template is used for initializing a new site.
Team Site STS#0 A site for teams to quickly organize, author, and share information. It provides a document library, and lists for managing announcements, calendar items, tasks, and discussions.
Blank Site STS#1 A blank site for you to customize based on your requirements.
Document Workspace STS#2 A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document.
Basic Meeting Workspace MPS#0 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents.
Blank Meeting Workspace MPS#1 A blank meeting site for you to customize based on your requirements.
Decision Meeting Workspace MPS#2 A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions.
Social Meeting Workspace MPS#3 A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event.
Multipage Meeting Workspace MPS#4 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements.
Central Admin Site CENTRALADMIN#0 A site for central administration. It provides Web pages and links for application and operations management.
Wiki Site WIKI#0 A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords
Blog BLOG#0 A site for a person or team to post ideas, observations, and expertise that site visitors can comment on.
Group Work Site SGS#0 This template provides a groupware solution that enables teams to create, organize, and share information quickly and easily. It includes Group Calendar, Circulation, Phone-Call Memo, the Document Library and the other basic lists.
Tenant Admin Site TENANTADMIN#0 A site for tenant administration. It provides Web pages and links for self-serve administration.
Access Services Site ACCSRV#0 Microsoft Access Server
Assets Web Database ACCSRV#1 Create an assets database to keep track of assets, including asset details and owners.
Charitable Contributions Web Database ACCSRV#3 Create a database to track information about fundraising campaigns including donations made by contributors, campaign related events, and pending tasks.
Contacts Web Database ACCSRV#4 Create a contacts database to manage information about people that your team works with, such as customers and partners.
Issues Web Database ACCSRV#6 Create an issues database to manage a set of issues or problems. You can assign, prioritize, and follow the progress of issues from start to finish.
Projects Web Database ACCSRV#5 Create a project tracking database to track multiple projects, and assign tasks to different people.
Document Center BDR#0 A site to centrally manage documents in your enterprise.
(obsolete) Records Center OFFILE#0 (obsolete) This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site also lets you manage whether records can be deleted or modified after they are added to the repository.
Records Center OFFILE#1 This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site also lets you manage whether records can be deleted or modified after they are added to the repository.
Shared Services Administration Site OSRV#0 This template creates a site for administering shared services
PerformancePoint PPSMASite#0 A site for presenting PerformancePoint dashboards and scorecards. The site also includes links to PerformancePoint Dashboard Designer and storage for dashboard content such as analytic charts, reports, KPIs, and strategy maps.
Business Intelligence Center BICenterSite#0 A site for presenting Business Intelligence Center.
SharePoint Portal Server Site SPS#0 This template is obsolete.
SharePoint Portal Server Personal Space SPSPERS#0 This web template defines a Personal Space for an individual participating on a SharePoint Portal.
Personalization Site SPSMSITE#0 A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites.
Contents area Template SPSTOC#0 This template is obsolete.
Topic area template SPSTOPIC#0 This template is obsolete.
News Site SPSNEWS#0 This template is obsolete.
Publishing Site CMSPUBLISHING#0 A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes document and image libraries for storing Web publishing assets.
Publishing Site BLANKINTERNET#0 This template creates a site for publishing Web pages on a schedule, with workflow features enabled. By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets.
Press Releases Site BLANKINTERNET#1 This template creates the Press Releases subsite for an Internet-facing corporate presence website.
Publishing Site with Workflow BLANKINTERNET#2 A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site.
News Site SPSNHOME#0 A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items.
Site Directory SPSSITES#0 A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map.
Community area template SPSCOMMU#0 This template is obsolete.
Report Center SPSREPORTCENTER#0 A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information.
Collaboration Portal SPSPORTAL#0 A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as readers and is used to host team sites.
Enterprise Search Center SRCHCEN#0 A site for delivering the search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types.
Profiles PROFILES#0 This template creates a profile site that includes page layout with zones
Publishing Portal BLANKINTERNETCONTAINER#0 A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically, this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.
My Site Host SPSMSITEHOST#0 A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per User Profile Service Application, please consult the documentation for details.
Enterprise Wiki ENTERWIKI#0 A site for publishing knowledge that you capture and want to share across the enterprise. It provides an easy content editing experience in a single location for co-authoring content, discussions, and project management.
Basic Search Center SRCHCENTERLITE#0 A site for delivering the search experience. The site includes pages for search results and advanced searches.
Basic Search Center SRCHCENTERLITE#1 The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation.
FAST Search Center SRCHCENTERFAST#0 A site for delivering the FAST search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types.
Visio Process Repository visprus#0 A site for teams to quickly view, share, and store Visio process diagrams. It provides a versioned document library for storing process diagrams, and lists for managing announcements, tasks, and review discussions.
Please follow and like us:
error