Add SharePoint on premise site as a tab in Microsoft Teams

Currently there is no integration available to add a SharePoint on premise library or site as storage like we have a connected SharePoint online with Microsoft Teams.

I don’t think a feature like this will be released soon as well but there is an easy way to add a library or site as Website tab in any Teams.

This of course does not provide you seamless integration but atleast provides you access to on premise SharePoint site or library inside Teams.

You can view this small video to understand how to do it, you can add any website SharePoint site, library or any other site

Add website as tab in Microsoft Teams

Connect with me on Twitter or Linked In if you need more information.

How to call Microsoft Graph API from PowerShell to get Microsoft Teams details?

Let’s start with PowerShell script and then we can break it down, so here is a code which can get details of a team using Graph API.

There are bunch of parameters which you need to replace it with your own details and in this blog I will explain how to get those.

$clientId = "<<yourclientid>>"  
$clientSecret = "<<yourclientsecret>>"  
$tenantName = "<<yourteanantname">>  
$resource = "https://graph.microsoft.com/"  
$URL = "https://graph.microsoft.com/v1.0/teams/<<yourteamdid>>"  
  
  
$tokenBody = @{  
    Grant_Type    = "client_credentials"  
    Scope         = "https://graph.microsoft.com/.default"  
    Client_Id     = $clientId  
    Client_Secret = $clientSecret  
}   
  

$tokenResponse = Invoke-RestMethod -Uri "https://login.microsoftonline.com/$TenantName/oauth2/v2.0/token" -Method POST -Body $tokenBody  
Invoke-RestMethod -Headers @{Authorization = "Bearer $($tokenResponse.access_token)"} -Uri $URL

So let’s start with “yourclientid” and “yourclientsecret”, for these we need to login to Azure portal and do an “App Registration”. To call an Graph API you need an App to with correct access to resources.

URL to Azure portal: https://portal.azure.com/

Follow below steps to get the App Registration done:

  • Once you have logged into Azure portal, search for “App Registration” and click “New registration”
Azure App Registration
Azure New Registration
  • Give a name as you would like and click “Register”.
Register App in Azure
  • Important thing to note is Application (client) ID which you need to provide as <<yourclientid>>
App Registration Azure
  • Click on API permissions on left and click “Add a permission” and then select “Application permissions”.
API Permissions Graph
  • We have to give specific permissions so that we can read data, search for “group” and select “Read.All” as shown below and the click “Add Permissions”.
Add Permissions Azure API
  • Don’t forget to click “Grand admin consent for xxxx” else your API will not work
Add Permissions Azure Graph API
  • Next step is to create a secret so click “Certificates & secrets” on left menu. Click on “New Client Secret” and give a name and click Add, If it’s production better to select Expires as Never.
Certificates and Secrets Graph API
  • Once created please copy and keep it which will be our another pramater that is “<<yourclientsecret>>”.
Client Secret Graph API
Install-Module MicrosoftTeams
Import-Module MicrosoftTeams
$credentials=Get-Credential
Connect-MicrosoftTeams -Credential $credentials
Get-Team

So now we have got all the parameters so you can run the PowerShell by applying the values you have found and created and result will be like below

So this is a very basic example of calling Graph API from PowerShell and get details of Teams.

I will be writing another blog very soon to get all Apps used in Teams of a tenant which will be based on above concept.

Connect with me on Twitter or Linked In if you need more information.

References:

Coronavirus (Covid-19) Impact: how we work, live and survival of fittest

Coronavirus has changed the way we live and work unprecedently. These has been difficult times for everyone and I can bet no one is untouched by this.

Things have changed in many ways for us, companies in terms of the way we work, comapnies operate and collaborate together.

Social media has been flooded with tips around how to work from home, how to take meeting etc, I am not an expert on how to work from home so I am not going to tell you anything about it even though I have been working from home for past two months now, earlier I use to work once or twice in a month.

I can certainly say that it works and it is not so difficult if you are determine to make it work and people like us who are from IT background always find a way to work with IT tools.

The challenge has been more for people from non IT backgrounds who are more than ever dependent on IT tools to work and collaborate together, conduct meetings, training etc virtually rather than in person.

Even if you are from IT background learning curve has been steeper more than ever to cope with new tools or how to use the existing tools in most efficient way.

I must say that the phrase “Survival of fittest” is true now in every sense of way, be it for health, work or companies or tools / apps.

Although all kind of institutions have been impacted due to this but my focus has been on schools, colleges and healthcare.

A tool which has seen a sharp increase in usage is Microsoft Teams, if we talk about numbers it has now more than 75 million daily active users by April end which was 44 million just a month ago in March. Microsoft teams has 200 million daily meeting participants.

We can very easily infer that Microsoft Teams is the fittest of all in its competition not just due to numbers but the way it enhances productivity and easy to collaborate, it has a great concept of chat based workspace with countless high quality apps available to be used created by Microsoft and partners.

Check my references at end if you would like to start using Microsoft Teams.

We at CGI has also been impacted like everybody else but I can say CGI has played at front, not only we contributed socially for different causes but we have taken challenges such as rolling out Microsoft Teams in just two weeks of time.

We have an initiative going on called “Respond, Rebound and Reinvent”, more details here: https://www.cgi.com/en/article/cgi3r/working-together-respond-rebound-and-reinvent-through-phases-pandemic

Read some interesting articles here:

https://www.cgi.com/canada/en/article/cgi3r/cgi-deploys-microsoft-teams-4000-remote-client-staff-just-over-two-weeks

https://www.cgi.com/en/case-study/cgi3r/cgi-helps-carrefour-completed-1-5-million-online-orders

https://www.cgi.com/en/case-study/cgi3r/using-automation-help-improve-patient-and-physician-care-and-flatten-curve

I can certainly say that CGI is one of the fittest if not fittest of all.

Connect with me on Twitter or Linked In if you need more information.

References:

https://teamsdemo.office.com/#/0/0

https://techcommunity.microsoft.com/t5/microsoft-teams-blog/bg-p/MicrosoftTeamsBlog

Microsoft 365 App – Bookings – A walkthrough

You must have booked an online appointment on sites for small businesses or salon or some kind of services but did you know that there is an service provided by Microsoft 365 as well for these kind of bookings. Although it has been around since 2016 it was made available for all E3 and E5 licenses recently.

I must say that Bookings App / service is very easy and intuitive to use, let’s have a quick walkthrough first and then we can look into some scenarios where it can be useful.

  • Booking page: Page is configurable in all aspects such as how booking page can be accessed, some text about data usage and control, scheduling policy, how to notify users, color theme of page. Check a screenshot below
  • Customers: You can add customers or import them as well
  • Staff: You can add staff and their availability schedule
  • Services: You can add what kind of services you provide
  • Business information: You can add more than one Business
  • You can create booking page which can be only accessed internally in organization
  • Customize email notifications
  • You can share booking socially and you can also disable the option if you want
  • Reports: You can download data upto 120 days
  • Booking is also available as an App in Microsoft Teams which makes it easy to use for organizations
  • Data can be accessed via Graph API if you want to build applications or further extend functionalities, read more here https://docs.microsoft.com/en-us/graph/api/resources/booking-api-overview?view=graph-rest-beta

Overall very rich functionalities and will meet your needs. Ability to access data via Graph API enables lot of possibilities.

Bookings App in Microsoft Teams

In general Microsoft 365 Bookings can be used by enterprise, small companies, shops to enable bookings in their public facing sites but apart from this it can be used internally by enterprises for various purposes.

  • Appointments for Service Desk kiosks
  • Appointments with HR for queries
  • Appointments with finance for resolutions

This was a quick walkthrough of Bookings in Microsoft 365.

If you want to try out Bookings I have created a demo which you can utilize

https://outlook.office365.com/owa/calendar/Test@cgikislay.onmicrosoft.com/bookings/

Connect with me on Twitter or Linked In if you need more information.

Resources and references:

https://techcommunity.microsoft.com/t5/microsoft-bookings-blog/you-can-now-do-more-with-microsoft-bookings/ba-p/298461

https://techcommunity.microsoft.com/t5/microsoft-bookings-blog/bg-p/Office365BusinessAppsBlog

https://www.microsoft.com/en-us/microsoft-365/business/scheduling-and-booking-app

https://docs.microsoft.com/en-us/graph/api/resources/booking-api-overview?view=graph-rest-beta

Microsoft 365 Lists – a powerful App, SharePoint lists not needed any more

Microsoft Build 2020 came up with lot of exciting announcements but the most interesting one was Lists as individual app in Microsoft 365.

Lists has been around for many years as part of SharePoint platform , I remember explaining my end users Lists is something like an excel rows or table in database in SharePoint 2010 days and to be frank not a lot has been changed, we have not seen huge improvements except some more templates being introduced. We got conditional formatting recently in SharePoint online, of course you can do more these days due to introduction of Power Platform (Power Apps and Automate).

This is reason I term this annoucement as interesting one as it takes the Lists to another level and put it on same level as other standalone apps.

So let’s look what all we get in Microsoft 365 Lists

  • It can be accessed as a standalone app from waffle of Micorosft 365
  • Various default predefined templates such as issue tracker, asset tracking, blank , contacts, inventory, events, onboarding etc are available
  • Lists has its own home page
  • Available as mobile app
  • Can be added to Microsoft Teams as an App or tab
  • Can have conversation around Lists in Microsoft Teams or can have conversation around each item in a Microsoft Lists
  • Lists will have views calendar, grid, custom, cards etc
  • Conditional formatting is available in Lists
  • Rules: You can set rules to show hide columns based on differen rules, it’s like light weight customizing forms, for definition read below statement
    • Building rules is as easy as writing a sentence. Once you decide on the outcome, click-fill if/then steps to design your rules. Choose people, status, and value changes to send notifications or programmatically update values elsewhere in the list. Finally, use rules to set reminders to keep everyone informed.
  • Lists can be shared with users so you can manage permissions and you can be owner of lists
  • You can boomark Lists using the favorites feature
  • Can create a new list from existing excel data
  • Able to preview a list before it is created
  • You can chose an icon and a color for you lists to make distinctions between different lists
  • Lists can be saved as draft till you are ready to share with others
  • You can comment on individual list items and also mention someone
  • You can design your own card views
  • Data availability and accessibility via Graph API

As you can read it has lots of features and covers a lot of scenarios which were not possible before in SharePoint lists so let’s have a look into them

  • Rule based email sending capabilities, earlier we used to write workflow or event receivers or Flows
  • Grid or card views , earlier we used to customize using JSLink, Jquery, JS etc
  • Earlier a whole site has to be created even though only a list was needed
  • In past following requests had come to be from business users which are avaialble by default now
    • Save as draft before it is ready to be released
    • Different icons to visualize it better
    • Simple form customziations can be done by Rules earlier we had to inject JS in edit, new or view forms

We can clearly infer that Microsoft 365 Lists are smart, powerful and easily replace SharePoint lists so we don’t need them anymore. With ability to add this in Teams we can see it is more flexible and very well integrated in Microsoft 365.

We can also infer that a need of Teams sites in SharePoint is even less now and if you are using Microsoft Teams along with Lists probably you don’t need SharePoint team sites.

As as ending note I am really forward to this new app which will be extremely useful and I would like to move most of SharePoint list to new Microsoft 365 Lists.

Connect with me on Twitter or Linked In if you need more information.

References

https://techcommunity.microsoft.com/t5/microsoft-365-blog/announcing-microsoft-lists-your-smart-information-tracking-app/ba-p/1372233 https://resources.techcommunity.microsoft.com/microsoft-lists/

Private Channel in Microsoft Teams #teams #channel

I attended SharePoint Saturday Event in Stockholm, you can read more here http://www.spsevents.org/ and http://www.spssthlm.org/

One of the things in which a lot of people were interested and I also get to know was about Private Channels in Microsoft Teams. Currently we are able to create Channels but they are not private and can be accessed by all Team members.

Apparently this is the most sough after feature in Teams in User Voice. Latest information I got from two guys from Microsoft in a session about Teams was Private Channel will be available in end-October and might be available in Nov to Tenants

Interestingly the Private Channel will have it’s own SharePoint site collection and not as a folder in existing SharePoint site as it happens now. It will only have four Apps available to be used in beginning for rest of Apps you have to go to main Team.

As explained to me is that idea is to get the Private Channel usage going and then later more Apps will be made available.

Some people were concerned with new Site Collection being created for each Private Channel but this seems to be logical as we do not want permission broken folder in our library as it will be a nightmare for future and having a site collection of it’s own makes it scalable.

Keep an eye here when it is available and also on User Voice page https://support.office.com/en-us/article/create-a-private-channel-in-teams-60ef929a-4d68-418b-bf4f-5784db184ec9

Ask me on Twitter or Linked In if you need more information