Microsoft 365 PnP Community Spotlight: Arjun Menon

Microsoft 365 PnP Community Spotlight: Arjun Menon

This article is contributed. See the original author and article here.

Arjun.jpg


 


Which community project do you maintain? 


CLI for Microsoft 365 


 


How does it help people?  


It is a cross platform tool which is used by Developers and IT Pros with which you can configure Microsoft 365, manage SharePoint Framework projects and build automation scripts. 


 


What have you been working on lately? 


Script for notifying the tenant status for IT Pros 


 


What do you do at work? 


 I am a consultant for Microsoft 365 services. Apart from that I am also part of a team who primarily develops the Digital workplace Apps related to Microsoft Teams. 


 


Why are you a part of the M365 community? 


Because of the Awesome work the Microsoft 365 community is doing selflessly. More than that the inclusiveness which the community provides for all the contributors irrespective of who you are and where you are from. I have seen lot of my peers and colleagues who have got benefited from the work of the community and nothing is better than being part of the community owing to their awesome work across the Microsoft 365 areas. 


 


What was you first community contribution? 


 First active contribution was back in July 2020 (17 July 2020 to be precise). From then on, there was no looking back for me. 


 


One tip for someone who’d like to start contributing 


 Do not underestimate your contribution. You may think your contribution is so simple and it will not be beneficial to anyone (Let me confess, I also thought the same initially). With that you are underestimating the power of simplicity. It will be beneficial and may save a lot of time for someone who might be on the other side of the globe and can save his / her / theirs time. Be kind to people who contribute and support and be compassionate. Remember, people who are part of their community is doing this just out of sheer passion and ensure that you show gratitude and empathy. 
Remember community is there to help you and to support. I got that during my initial days and I am sure any contributor also will get similar treatment which I have received during my starting days.
 

React Groups and Teams Filters

React Groups and Teams Filters

This article is contributed. See the original author and article here.

In this article I’ll go over both of the filters you can find in my React Groups and Teams Filters webpart. The webpart is useful for site managers, admins, and users to find their sites and it’s ​information. The first filter switches the All Groups in my Organization to My Groups and the second filters the visibility of the groups ( Public/Private/All )


In the screenshot below you can see the code for the buttons.


 


img1.png


 


Visibility Filters


 


The first three buttons are the visibility filters. They filter the MyGroupResultsFiltered to be the button text you clicked. For example, if you click the ‘Public’ button MyGroupResultsFiltered will be filtered to include only groups with the visibility set as ‘Public’.


 









Let’s dive deeper into what’s happening. On click of, for instance, Private, the button calls the SwitchGroupList2 function (line 69) and passes through ‘Private’ as a parameter. img2.png

 


That parameter ‘Private’ is now called ‘Switch’ and next we check if that equals ‘All’.


 


If it does and you clicked the button titled ‘All’, we want to set the state of AllGroupsresults to the state holding all of the items. We do this because if I were to filter the AllGroupsresults to private and then switch to public and filter that, we’re just filtering a filtered list and you won’t get back any results. AllGroupsresults hold all of the results for Groups in my Organization and AllGroupsresultsFiltered is the filtered version of that list. In other words, when we get back the Groups ( both Groups in my Org and My Groups ) we make a copy of this list that we can filter however we would like and we can call on that list and filter it and assign it to the AllGroupsresultsFiltered value.


 


If the selected filter is anything other than ‘All’ we go ahead and create a constant that is assigned the filtered list. What this filter does is it maps through AllGroupsresults and checks if every group has the visibility that you selected, keeps the groups that has the visibility, and assigns the value to SwitchedALL. Same thing for MyGroupResults; It maps through MyGroupResults and filters the groups to be the ones that match the visibility you selected. Next, we set the state of AllGroupsresultsFiltered and MyGroupResultsFiltered to be SwitchedALL and SwitchedMY, respectively. In our case, we selected the button with the text ‘Private’ so AllGroupsresultsFiltered and MyGroupResultsFiltered will reflect this change and only show the groups with the visibility ‘Private’.


 


The last part is, after the if/else statement, we want to set the state ‘mode’ to be the selected filter. We’re doing this so that the button we clicked will have the ‘SelectedFilter’ styling. How we do this is by inputting a ternary operator in the code so that, depending on if the mode equals ‘Private’, we change the styling. If you selected the Private button the SwitchGroupList2 function will set the mode to be ‘Private’ and, consequently, rendering the button with the class ‘Selected Filter’.


 


img3.png


 


Option Filter









On the bottom right of the heading before the groups you will either see a button titled ‘My Groups’ or ‘Groups In My Organization’.

option filter.png



This button allows you to toggle between either displaying groups you are a member of or groups in your organization. On click of this button you call the SwitchGroupList function. ( Not the SwitchGroupList2 function mentioned earlier )


 









In this function we check if the title in state is ‘Groups In My Organization’. The title is what is displayed, meaning that if the button text is ‘View My Groups’ the title is ‘Groups In My Organization’.

switch group list.png



 


If the title is ‘Groups In My Organization’ we change it to be ‘My Groups’. The opposite also applies- if the title is ‘My Groups’ we go ahead and change it to be ‘Groups In My Organization’.


 


Why is this part of the code? For two reasons: the first is because we want to toggle the button text and header text between ‘Groups In My Organization’ and ‘My Groups’ and also so that we can display the right information.


 









ternary.png In the render there is a ternary operator that checks if the current selected option is ‘My Groups’.

 


If this is true it maps through MyGroupResultsFiltered and displays the groups. If not, it renders All of the groups in your organization.


 


I hope you liked this article and it helped you out with your filters!


You can view the code here: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-groups-teams

Leveraging Virtual Tours Inside of Viva Connections for Back to Work Scenarios – HLS Show Me How

Leveraging Virtual Tours Inside of Viva Connections for Back to Work Scenarios – HLS Show Me How

This article is contributed. See the original author and article here.

HLS Show Me How.pngWith return to work, and hybrid work becoming a reality, familiarity with physical locations is again coming in to play for many organizations. This “back to work” scenario seems to be playing out along three primary scenarios:



  • New hires may have never seen an orgs buildings.

  • Return workers may be going to new locations as building consolidation efforts have taken place.

  • Existing spaces may now be set up for hybrid work with non-dedicated spaces.


Thankfully, organizations can leverage the tremendous power of Microsoft Viva Connections paired with the rich immersive experiences of SharePoint Spaces to:



  • Bring impactful, educational, virtual tours to employees that immerse them in the new environments from comfort of home. SharePoint Spaces provides for immersive 360’ tours that can simulate the onsite experience with additional, contextual, information to enrich the experience.

  • Light up through Microsoft Viva Connections where the next generation Intranet is brought to employees where they work…. Microsoft Teams.

  • Use high quality, low cost, consumer grade devices like the Insta360 One X2, to capture stunning 360’ images and videos that can be leveraged within SharePoint Spaces.


Resources:



Thanks for visiting – Michael Gannotti   LinkedIn | Twitter


Michael GannottiMichael Gannotti

Video Tutorial: Endpoint Protection Part 1 – Introduction

This article is contributed. See the original author and article here.

Hello everyone, we are starting a new video tutorial series focusing on Endpoint Protection integration with Configuration Manager. This series is recorded by @Steve Rachui, a Microsoft principal premier field engineer.  The first session is an introduction and previews what is coming in the remainder of the series.


 


 


Next in the series Steve focuses on how Configuration Manager can be used to manage antimalware policy settings for the Endpoint Defender client built into Windows.


 


 


Posts in the series



  • Introduction (this post)

  • Antimalware policies

  • BitLocker integration and management

  • Firewall policies

  • Windows Defender Advanced Threat Protection (ATP) policies

  • Windows Defender Exploit Guard policies

  • Windows Defender Application Guard policies

  • Windows Defender Application Control (WDAC) policies


Go straight to the playlist

Microsoft Power Platform is bridging the digital divide in Latin America

This article is contributed. See the original author and article here.

Sharif Nasser grew up with the dream of becoming an inventor.


 


As a teenager, he became interested in AI and machine learning and became a strong believer in technology as a powerful tool for equity and progress. While currently studying Robotics at Tecnolo’gico de Monterrey, in Monterrey, Mexico, he uses his technical knowledge and expertise to bridge the digital divide across Latin America.


 


Through large scale online teaching ventures of up to 5000 students, he is making technology more accessible to all. Learn more about his journey and his belief in low code platforms to lower the barrier to entry: aka.ms/power-students.


 


If you would like to sharpen your own technical skills, check out: aka.ms/trainingandcertification.