Governance, management and lifecycle in Microsoft Teams

Role Based Access Control
https://aka.ms/teams-rbac

Teams settings
https://aka.ms/teams-settings

Messaging policies
https://aka.ms/teams-messaging

Meeting settings
https://aka.ms/teams-meeting-settings

Meeting policies
https://aka.ms/teams-meeting-policies

Live events policies
https://aka.ms/teams-live-events

External access
https://aka.ms/teams-external-access

Guest access
https://aka.ms/guests-o365-groups

Ability to create teams
https://aka.ms/create-o365-groups

Classification for teams
https://aka.ms/teams-classification

Retention policies
https://aka.ms/teams-retention

Expiration policies
https://aka.ms/teams-expiration

PowerShell for Teams
https://aka.ms/teams-powershell

Graph API for Teams
https://aka.ms/teams-graph

Posted in Uncategorized | Leave a comment

Build 2020 Videos

SK100 Building modern enterprise-grade collaboration solutions with Microsoft Teams
SK101 Transform everyday business processes with Microsoft 365 platform integrations
SK102 What’s new with Microsoft Teams as a platform
SK106 Tips for Teams developers: Authentication and proactive messaging
SK107 Developing with the Fluid Framework
SK108 Microsoft Graph data and services – a deep dive for developers
SK109 A blueprint for building trustworthy apps that reach millions of users
SK110 What’s new with Microsoft Graph
SK111 Extend Microsoft 365 experiences with Graph Connectors
SK112 Transforming information to knowledge using Project Cortex
SK113 Use External Identities to build digital experiences for any user
SK114 Building trust into digital experiences with decentralized identities
SK115 Building apps for modern productivity with To Do in Microsoft Graph
SK116 Build richer people experiences with Profile API on Microsoft Graph
SK117 Smart meetings, room, places and event sync in Microsoft Graph
SK118 Add cloud-based printing to your application with Universal Print
SK119 React Native: Build cross platform apps that target Windows, Mac, and more!
SK120 Microsoft Edge DevTools for web developers
SK121 End-to-end web development with VS Code and Microsoft Edge
SK122 Building rich app experiences with Progressive Web Apps
SK123 How to bring your Android apps to Surface Duo with Xamarin
SK124 Application security and deployment [MSIX]
SK125 Foundation: Get started building modern Windows 10 apps
SK126 Harness the power of WebRTC in your Windows apps with the new WinRTC!
SK127 Building apps for 1 billion Windows 10 Desktops and expanding reach w/ Windows Virtual Desktop
SK128 WebView2: Bringing the best of the web to your native apps
SK129 Building Extensions for the new Microsoft Edge
SK130 Windows AI: hardware-accelerated ML on Windows devices
SK131 Fluent Design System – Building apps that feel natural on every device
SK133 Accessibility Insights: Open source accessibility testing tools
SK134 Adaptive Cards – The next gen of contextual user experiences in your apps and Microsoft 365
SK135 The Windows Command-Line: Windows Terminal & WSL 2
SK136 Foundation: Windows 10 – features and tools for all developers
SK137 Surface Book 3 – GPU-accelerated application development
Posted in Build2020, Uncategorized | Leave a comment

REST API for SPO using Postman

I have created a Postman collection to Access SPO using REST API.

https://github.com/pankajsurti/Access-SharePoint-Online-using-Postman

More details are here

http://www.ktskumar.com/2017/01/access-sharepoint-online-using-postman/

Posted in Uncategorized | Leave a comment

Download JSON data Cross Browser Support specially IE

My customer has a need to provide download links for underlying data of Power BI Embedded report. The embedding worked is all worked fine on the public site page. We also provided the download links to download underlying data in CSV and JSON format. All worked fine but the download links did not work in IE11. After searching on web found this article which was so helpful and worked with no issues.

Download JSON data in CSV format Cross Browser Support -> https://ciphertrick.com/download-json-data-in-csv-format-cross-browser-support/

I will not repeat what is discussed in the above blog. However my need was to support JSON format file download as well. So I used the following code as shown in the blog.

IEwindow.document.execCommand(‘SaveAs’, true, fileName + “.json”);

The issue is that the file type .json was not liked by IE so it never saved this file. I am guessing something to do with the code as a JSON file. To save you the trouble please DO NOT use .json instead use something like this.

IEwindow.document.execCommand(‘SaveAs’, true, fileName + “.json.TXT“);

That line was OK for IE and it worked like a charm. I hope it is helpful to you.

 

Posted in Uncategorized | Leave a comment

Download Power BI visual data as CSV or JSON

My customer had a requirement to download the Summary data of the report visual for Power BI embedded report.

I went to achieve this as a wrong path first. I hope you don’t do the same mistake.

The path I first took was to use the REST API below.
Datasets – Get Dataset -> https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdataset

Push Datasets – Datasets GetTables -> https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_gettables

DO NOT use those APIs to get the dataset of an existing report. This will not work. These APIs only work for the data you pushed via API. The data set will show the API ACCESS as shown below.

PowerBIAPIAccess To download embedded report data use the Power BI client JS api to download.

Export Data-> https://github.com/microsoft/PowerBI-JavaScript/wiki/Export-Data

 

Posted in Uncategorized | Leave a comment

Getting Group owners using MS Graph API in Power Automate

The call is made using the MS Graph API call.

https://docs.microsoft.com/en-us/graph/api/group-list-owners?view=graph-rest-1.0&tabs=http

Q:How does the MS Graph API work?

A: The following are the steps.

  1. Register an Azure AD app with the following API permission granted and consented.
Microsoft Graph (2)
     - Group.Read.All
     - User.Read.All

2. Using the REST API to get the Access Token.

POST https://login.microsoftonline.com/<<<Guid for tenant>>>/oauth2/v2.0/token

REQUEST BODY:

grant_type=client_credentials&client_id=<<Azure AD App ID>>&client_secret=<<<the secret>>> &scope=https%3A%2F%2Fgraph.microsoft.com%2F.default

RESPONSE BODY:

{

“token_type”: “Bearer”,

“expires_in”: 3599,

“ext_expires_in”: 3599,

“access_token”: “<<blah blah long string>>”

}

  1. Using the above access token make a call to get the owners.

GET https://graph.microsoft.com/v1.0/groups/<<GuidforGroup>>/owners

It will give the data response as the following.

{

"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects",
"value": [
{
"@odata.type": "#microsoft.graph.user",
"id": "12d7bb75-763b-4103-a367-e6fa9ca0edaa",
"businessPhones": [
   "8005555555"
],
"displayName": "MOD Administrator",
"givenName": "MOD",
"jobTitle": null,
"mail": "admin@TenantName.OnMicrosoft.com",
"mobilePhone": "555-555-5555",
"officeLocation": null,
"preferredLanguage": "en-US",
"surname": "Administrator",
"userPrincipalName": "admin@TanantName.onmicrosoft.com"
}
]
}

Q: How to make such calls from Power Automate?

A: Here is the answer in the link below.

https://www.infopulse.com/blog/using-microsoft-graph-api-inside-microsoft-flow-office-365/

Posted in Uncategorized | Leave a comment

Microsoft Graph Security API

I have been working on the Microsoft Security Graph API to get the reports.
I have created a PostMan collection put it on the GitHub Repo.

https://github.com/pankajsurti/MicrosoftGraphSecurityAPIPostMan 

I have found following articles very useful.

https://aka.ms/GraphSecurityDocs

https://aka.ms/GraphSecurityAPICode

https://aka.ms/GraphSecuritySolutionsConnectors

https://aka.ms/GraphSecurityWhitePaperSevenWays

https://aka.ms/GraphSecurityQuickStarts

https://aka.ms/GraphSecuritySDK

https://aka.ms/GraphSecurityConnectorsBlogPost

https://aka.ms/GraphSecurityPowerBIConnectorBlogPost

https://aka.ms/GraphSecurityPowerShellModulePost

https://aka.ms/GraphSecurityCuratedQueries

https://aka.ms/GraphSecurityJupyterNotebooks

https://github.com/Microsoft/MicrosoftGraphSecurity

Five cool security apps you can build using Microsoft Graph | BRK3073
https://www.youtube.com/watch?v=Klc9z7jbQio

 

Posted in Uncategorized | Leave a comment

Bulk Load Excel file to the SQL

I wrote this sample console program to read Excel file and bulk load to the SQL.

It uses the ExcelDataReader NuGet package. The source is located on GitHub. Enjoy!

https://github.com/pankajsurti/BulkLoadExcelData2SQL

 

Posted in Uncategorized | Leave a comment

Office 365 Usage Reports Postman Collection

I have created Postman collection for the Office 365 Usage Reports. Enjoy!

https://github.com/pankajsurti/O365UsageReportsAPIs

Office 365 Usage Reports – https://docs.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0

Office 365 Usage Analytics Adaption Package is located below.

https://docs.microsoft.com/en-us/office365/admin/usage-analytics/usage-analytics?view=o365-worldwide

Microsoft 365 usage analytics data model

https://docs.microsoft.com/en-us/office365/admin/usage-analytics/usage-analytics-data-model?view=o365-worldwide

Posted in Uncategorized | Leave a comment

Microsoft Virtual Assitant

https://docs.botframework.com 

Virtual Assistant Overview

*** Useful YouTube Learning links ***
A deep-dive into conversational AI using Azure Bot Service and Cognitive Services | BRK4001
https://www.youtube.com/watch?v=j2-FWeIqYOg
Building enterprise ready scalable AI solutions using Azure Cognitive Services | BRK3029
https://www.youtube.com/watch?v=630F60EfPcQ
Learn to configure a virtual agent with Power Virtual Agent in minutes not days | BRK2372
https://www.youtube.com/watch?v=WEFtQ6rIK8U
Advanced Natural Language Understanding (NLU) models using LUIS and Azure Cognitive | BRK2188
https://www.youtube.com/watch?v=JdJEV2jV0_Y
Create sophisticated enterprise-ready bots from your existing data with no code | THR2136
https://www.youtube.com/watch?v=5xZ1_J4qfMk
Creating enterprise conversational user experiences with virtual assistants | THR2018
https://www.youtube.com/watch?v=C38fRHQz9po
Three ways to build bots with Azure AI that can make you a hero in your organization | THR2147
https://www.youtube.com/watch?v=Pcv0v6KKoiQ
Let’s build a knowledgeable chatbot with Microsoft Bot Framework Azure Bot Services | BRK1037
https://www.youtube.com/watch?v=x0hxnnD8Nyo
Microsoft Power Virtual Agents integration with Azure Bot Framework Skills
https://www.youtube.com/watch?v=cU7_cmMPW34
*** You Tube Learning links ***

Posted in Uncategorized | Leave a comment