Top 10 Things to Look Out for When Using Microsoft Teams

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

Use of Microsoft Teams has increased greatly as of late with many of us now working from home. I have recently received a lot of questions in terms of how to complete specific tasks in Microsoft Teams amidst my friends and colleagues and thought it might be of value to share with all of you as well.  Here is a list of the top 10 things to look out for when using Microsoft Teams.
 
  1. @mentioning someone not part of the Microsoft Teams Team

    From my experience, security trimming within Microsoft 365 has always been working at its best. Therefore, if you try to @mention someone in a channel where the user is not part of that Team, permissions will not auto-magically change, and you simply won’t find a match for that user.
     

  2. Changing a Microsoft Team from Private to Public

    From a Microsoft Teams perspective, the Team will now be available for users to join without requiring approval(s). They will become “Members” automatically if they decide to join.

    And as we know, there is a close relationship between Teams and SharePoint. By changing the privacy settings, a built-in group called “Everyone except external users” will be added to the associated SharePoint site, and the user(s) will be able to access the content, with Edit permissions on the site.
     
    Clicking on the “Conversations” tab in SharePoint (on the quick launch), the users will be added to the Microsoft 365 Group to join the fun!
     

  3. Renaming a Channel in Teams
     
    Well… in Microsoft Teams, you now have the name you were after. Good job! BUT, it’s another story in SharePoint. And it can get extremely messy.
     
    Every channel in Teams is translated by a folder in the SharePoint world. Therefore, you’d think that renaming a channel will rename the (associated) folder in SharePoint? Nope. It will not. At least at this point in time (Sept 2020). If you use the “Open in SharePoint” option, it will still work, but you’ll still see the old name. 
     
    Next, you try to rename the folder directly in SharePoint? Don’t do that! Because you’ll be faced with an error, and meanwhile, a folder has been RE-CREATED in SharePoint. With the old name!
     
    Talking about confusing users…
     
  4. Creating a Private Channel in Teams
     
    This is a feature in Microsoft Teams that we have for a few months now. That’s when the Team permissions model is broken. You want to allow a different set of people but stay in the same context (the Team). You’ll get a lock icon, and everything is beautiful.
     
    But from a SharePoint perspective, a NEW site is created: Sure thing, you’re breaking the permissions, so things must be separated in the best way possible. Furthermore, those “private” sites are not visible in the SharePoint Admin Center, but only by using PowerShell (as of Sept 2020).
     
  5. Posting in Multiple Channels
     
    Sometimes it’s useful to share information amongst the different Teams (you have access to) in the organization. By using the “Post in multiple channels” option, you avoid copy/paste, which could be time consuming.
     
    By doing that, each Team you post into, will have its own thread of replies, and only changing the subject or the content of your post will be cascaded to the other channels.
     
  6. Adding Someone Else in Teams Chats
     
    Teams Chats are usually for conversing with a particular user, not the whole team. But sometimes, you may want another colleague to join the discussion.
     
    Because you’re currently in a One-To-One chat situation, adding a colleague will automatically create a new chat group, separated from your current one-to-one.
     
    Note: If you’ve got a lot of chats going on, maybe you forgot you’ve already got a group chat with the same people you’re trying to add. If that’s the case, Microsoft Teams will automatically direct you to that group, and will not create a second group with the same people!
     
  7. Sharing Documents in Teams Chats
     
    Compared to sharing in a channel, not much. The experience is the same. But the stored location is different! That’s right, files shared in Teams Chats aren’t going to SharePoint. Well… “technically” they are, but… Let’s not start confusing people.
     
    Anyways, when sharing files in a chat (not a channel), the files are stored in your OneDrive For Business. If you look closely, there’s a folder called Microsoft Teams Chat Files. Inside are all the files shared in your chats, with the correct permissions given to appropriate users.
     
  8. Sharing Documents in Teams Chats (personal) and Adding Someone Later
     
    In this scenario, we assume a minimum of 3 people are already chatting (as of Sept 2020), and then decide to add another participant to the conversation.
     
    At this point, you’ll be asked to enter the name of the other participant, and choose amongst the following:
     
    1. Don’t include chat history
       
    2. Include history from the past number of days [number]
       
    3. Include all chat history
       

    Those options are self-explanatory, and you can choose differently when adding users.
     

  9. Users Share Files in a Teams Chat Then Leave
     
    If you leave the chat, you can’t add yourself back (even when you created the group), and only the remaining people can do so. The “Files” tab is empty BUT the files are still shared with the other participants. Your messages will persist and won’t be deleted.
     
    Leave the organization: This is part of a wider Governance plan, as to what to do with OneDrive for Business files, emails, chats, etc… when a user is offboarded.
     
  10. Users Share Files in a Teams Chat Then Delete Those Files
     
    Here we’re talking about deleting the files from the “Microsoft Teams Chat Files” in your OneDrive for Business.
     
    Despite the file still being visible in the Teams Chat, the user you shared the document with, will face:
     
    • Error message when clicking on the document,
    • Error “404 Not Found” when trying to open in the browser,
    • Error message “Sorry we ran into a problem, the file didn’t download” when trying to download it

    Restoring the file from the Recycle Bin will resolve the problem, put the file back into the Microsoft Teams Chat Files folder, and restore the permissions.

Microsoft Defender ATP Ninja Training: September 2020 update

Microsoft Defender ATP Ninja Training: September 2020 update

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

We are constantly keeping the Microsoft Defender ATP Ninja training up-to-date to include the latest content. If you want to refresh your knowledge and get updated, here is what has been added since the August update

 

Legend:

vid.png Product videos

webcast.png Webcast recordings

TechCommunity.png Tech Community

docs.png Docs on Microsoft

blogs.png Blogs on Microsoft

GitHub.png GitHub

⤴ External

InteractiveGuides.png Interactive guides

 

 

Module (ordered by roles SecOps & SecAdmin)

What’s new

SecOps Intermediate:

Module 3. Next generation protection

SecOps Intermediate:

Module 6. Threat analytics

 

SecAdmin Fundamentals:

Module 2. Onboarding

 

SecAdmin Fundamentals:

Module 6. SIEM Integration

 

Learn about our partner integrations

AZURE ADVANCED THREAT PROTECTION  DEPLOYMENT AND TROUBLESHOOTING

AZURE ADVANCED THREAT PROTECTION DEPLOYMENT AND TROUBLESHOOTING

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

 

Hi IT Pros,

Recently, I search the internet and could not find the document for Azure ATP Setup and Troubleshooting. So, I prepare the document for our convenient reference and deployment in the future.

Please check it out and give your feedback.

 

 

 

AATP3.jpg

 

AZURE ADVANCED THREAT PROTECTION

DEPLOYMENT AND TROUBLESHOOTING

 

The setup procedure for Azure Advanced Threat Protection – AATP,  includes the following steps:

  1. Prepare Domain for AATP operation.
  2. Install Sensors for Domain Controllers
  3. Configure AATP
  4. Troubleshoot and Test.

 

***********

A.    Prepare Domain for Azure ATP (ATTP)

  1. Creating the group Managed Service Accounts (gMSA) for ATTP.

In Windows Server 2012 and later Domain, services or service administrators do not need to manage password synchronization between service instances when using group Managed Service Accounts (gMSA).

You provision the gMSA in AD and then configure the service which supports Managed Service Accounts.

You can provision a gMSA using the *-ADServiceAccount cmdlets which are part of the Active Directory module. Service identity configuration on the host is supported by:

  • Same APIs as sMSA, so products which support sMSA will support gMSA
  • Services which use Service Control Manager to configure logon identity
  • Services which use the IIS manager for application pools to configure identity
  • Tasks using Task Scheduler.

 

gMSA Prerequisite:

  • gMSA required KDS Root Key. It is used by the KDS service on DCs (along with other information) to generate passwords. It is required only once per forest.
a)       To Create KDS Root key:

Add-KdsRootKey -EffectiveImmediately

kdsroot.png

Will need time for key to be propagated to all other DCs,

b)      To create a gMSA using the New-ADServiceAccount cmdlet

On the Windows Server 2012 domain controller or later, Run AD Powershell:

  • New-ADServiceAccount ITFarm1 -DNSHostName ITFarm1.contoso.com

-PrincipalsAllowedToRetrieveManagedPassword DC01$

-KerberosEncryptionType RC4, AES128, AES256

-ServicePrincipalNames http/ITFarm1.contoso.com/contoso.com, http/ITFarm1.contoso.com/contoso, http/ITFarm1/contoso.com, http/ITFarm1/contoso

 

Name

ITFarm1

DNSHostName

DC01.contoso.com

KerberosEncryptionType

None, RC4, AES128, AES256

ManagedPasswordIntervalInDays

Password change interval in days (default is 30 days if not provided)

PrincipalsAllowedToRetrieveManagedPassword

The computer accounts of the member hosts or the security group that the member hosts are a member of

SamAccountName

NetBIOS name for the service if not same as Name

ServicePrincipalNames

Service Principal Names (SPNs) for the service http/ITFarm1.contoso.com/contoso.com, http/ITFarm1.contoso.com/contoso, http/ITFarm1/contoso.com, http/ITFarm1/contoso, MSSQLSvc/ITFarm1.contoso.com:1433, MSSQLSvc/ITFarm1.contoso.com:INST01


 Note: The password change interval can only be set during creation and cannot change later.
 

 To create a gMSA for outbound authentication only using the New-ADServiceAccount cmdlet
  • New-ADServiceAccount ITFarm1 -RestrictToOutboundAuthenticationOnly – PrincipalsAllowedToRetrieveManagedPassword DC01$
c)       Add member hosts to gMSA
  • Get-ADServiceAccount [-Identity] ITFarm1 -Properties PrincipalsAllowedToRetrieveManagedPassword

Get-adsvc.png

  • Set-ADServiceAccount [-Identity] ITFarm1

-PrincipalsAllowedToRetrieveManagedPassword DC01$,DC02$,DC03$

Better option:

You could create AD Security Group “SensorDCs” whose members are Sensor DCs and set AD service account to allow retrieving password:

  • Set-ADServiceAccount ITFarm1 -PrincipalsAllowedToRetrieveManagedPassword SensorDCs

set-adsvcacct.png

B.     Installing Sensor for All Domain Controllers

           Prerequisites for Domain Controllers:
  • Make sure Microsoft .Net Framework 4.7 or later is installed on the machine. If Microsoft .Net Framework 4.7 or later isn’t installed, the Azure ATP sensor setup package installs it, which may require a reboot of the server.
  • Quick check if the Domain Controllers have enough CPU and Memory for Sensor to collect traffic packets and analyze them. The following CPU and Random Access Memory (RAM) capacity refers to the sensor’s own consumption, not the domain controller capacity.

Packets per second

CPU (cores)*

Memory** (GB)

0-1k

0.25

2.50

1k-5k

0.75

6.00

5k-10k

1.00

6.50

10k-20k

2.00

9.00

20k-50k

3.50

9.50

50k-75k

3.50

9.50

75k-100k

3.50

9.50

 

* This includes physical cores, not hyper-threaded cores.
** Random-access memory (RAM)

 

a.     Create Azue ATP Instance

Sign in to https://portal.atp.azure.com with the Azure Account been potentially used as AATP administrator

New AATP Instance will be created:

 

Your Azure ATP instance is automatically named with the Azure AD initial domain name and created in the data center located closest to your Azure AD.

 

Click ConfigurationManage role groups, and use the Azure AD Admin Center link to manage your role groups.

 
b.     Connect AATP Instance to AD Forest

The first time you open the Azure ATP portal, the following screen appears:

 

AATPSetting.png

c.     Download and Install the Sensor to DC

Download and copy the Access key. The access key is required for the Azure ATP sensor to connect to your Azure ATP instance (one-time-password for sensor deployment).

 

Under Configure the sensor, enter the installation path and the access key that you copied from the previous step, based on your environment:

 

Azure ATP sensor service and Azure ATP sensor updater service are now available in Windows Services as shown:

 

 

Finish, reboot the DC Sensor Server.

If the domain controller is the first deployed sensor, you will need to wait at least 15 minutes to allow the database backend to finish initial deployment of the necessary microservices.

If you experience any error during installation process, please refer to the Troubleshooting section (section IV)

 

d.    To check if Sensor is working correctly:

   Sign in to portal.atp.azure.com and check if sensor is working:

 

Installing AATP Sensor on Core Server:

  • Support for Windows 2016, 2019 Server Core (nano editions are not supported)
  • “Azure ATP sensor Setup.exe” /quiet NetFrameworkCommandLineArguments=”/q” AccessKey=”<Access Key>”
  • Or by Powershell

./”Azure ATP sensor Setup.exe” /quiet NetFrameworkCommandLineArguments=”/q” AccessKey=”<Access Key>”

  • To Update Sensor:

“Azure ATP sensor Setup.exe” [/quiet] [/Help] [NetFrameworkCommandLineArguments=”/q”]

C. Configure AATP

    a. To Configure detection Exclusions and Honeytoken

Honeytoken accounts, which are used as traps for malicious actors – any authentication associated with these honeytoken accounts (normally dormant), triggers an alert.

Honeytokens can exist in many forms, from a dead, fake account to a database entry that would only be selected by malicious queries, making the concept ideally suited to ensuring data integrity. A particular example of a honeytoken is a fake email address used to track if a mailing list has been stolen.

  1. From the Azure ATP portal, click on the settings icon.
  2. Under Detection, click Entity tags.
  3. Under Honeytoken accounts, enter the Honeytoken account name and click the + sign. The Honeytoken accounts field is searchable and automatically displays entities in your network. Click Save.
 
  1. Add Sensitive Accounts:

Sensitive Accounts: Enter the account you want to monitor lateral movement, modification change, high privilege accounts.

Sensitive groups:  Enter the account you want to monitor lateral movement, modification change, high privilege administrative group.

  1. Click Exclusions. Enter a user account or IP address to be excluded from the detection, for each type of threat.
  2. Click the plus sign. The Add entity (user or computer) field is searchable and will autofill with entities in your network. For more information, see Excluding entities from detections and the security alert guide.
 
  1. Click Save.
b. To receive notifications to a specific email address:
  1. In the Azure ATP portal, select the “settings” icon
  2. Click Notifications.
  3. Under Mail notifications, specify which notifications should be sent via email – they can be sent for new alerts (suspicious activities) and new health issues.
  4. Click Save.
c. Configure the Collection of Audit Events in GPO

Azure Advanced Threat Protection (Azure ATP) detection relies on specific Windows Event log entries to enhance some detections and provide additional information on who performed specific actions such as NTLM logons, security group modifications and others.

You can use the Default Domain Controllers Policy or a dedicated GPO to set the following audit policies:

  • go to Computer Configuration > Policies > Windows Settings > Security Settings
  • Go to Advanced Audit Policy Configuration
  • Audit Policies.
 

 

                   

  • Under Audit Policies, edit each of the following policies
  •  select Configure the following audit events for both Success and Failure events.

GPO SETTINGS

Audit policy

Subcategory

Triggers event IDs

Account Logon

Audit Credential Validation

4776

Account Management

Audit Computer Account Management

4743

Account Management

Audit Distribution Group Management

4753, 4763

Account Management

Audit Security Group Management

4728, 4729, 4730, 4732, 4733, 4756, 4757, 4758

Account Management

Audit User Account Management

4726

System

Audit Security System Extension

7045

              

 c. Configure the Collection of Event 8004 NTLM Authentication:
  • Go to Local Policies > Security Options.
  • Under Security Options, configure the specified security policies, as follows:

Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers

Audit all

Network security: Restrict NTLM: Audit NTLM authentication in this domain

Enable all

Network security: Restrict NTLM: Audit Incoming NTLM Traffic

Enable auditing for all accounts

      AuditGPO.png         

D. Troubleshoot and Test AATP result

a. To Test AATP

You could simulate the attacks from fake virus script and files at the following link :

https://securitycenter.microsoft.com/tutorials/all

View responses from AATP portal at https://portal.cloudappsecurity.com

  • InvestigateActivity logs
 
    b. Troubleshooting

        AATP logs ‘ locations:

  • Azure ATP Deployment logs

The Azure ATP deployment logs are located in the temp directory for the user who installed the product.  C:UsersAdministratorAppDataLocalTemp (or one directory above %temp%).

  • Azure ATP logs

C:Program FilesAzure Advanced Threat Protection Sensorversion numberLogs.

  • Microsoft.Tri.Sensor.log – This log contains everything that happens in the Azure ATP sensor (including resolution and errors).
  • Microsoft.Tri.Sensor-Errors.log – This log contains just the errors that are caught by the ATP sensor.
  • Microsoft.Tri.Sensor.Updater.log – This log is used for the sensor updater process (automatically updated).
The knowns issue related to AATP setup and Configuration as follow:
  • Sensor Installation error, error ID 1068: 

             Solution: Reboot is needed to start sensor service.

  • Sensor Installation error, “Sensor Failure Communication”

System.Net.Http.HttpRequestException: An error occurred while sending the request. —>

or System.Net.WebException: Unable to connect to the remote server —>

or System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond…

Solution: Make sure that communication is not blocked for localhost, on TCP port 444

  • Sensor Installation error on DC with NIC Teaming

NIC Teaming for AATP required Npcap driver with WinPcap mode.

Solution:

  • Uninstall Sensor,
  • Install the Npcap version 0.9984 installer from https://nmap.org/npcap/
  • using the GUI installer, deselect the loopback support and

                select WinPcap mode.

  • Reinstall the sensor package.
  • Sensor installation error on DC with Multi Processor Group mode

For Windows Operating systems 2008R2 and 2012, Azure ATP Sensor is not supported in a Multi Processor Group mode.

 

Suggested possible workarounds:

 

If hyper threading is on, turn it off. This may reduce the number of logical cores enough to avoid needing to run in Multi Processor Group mode.

 

If your machine has less than 64 logical cores and is running on a HP host, you may be able to change the NUMA Group Size Optimization BIOS setting from the default of Clustered to Flat.

 

 

  • Create AD Service Account with “key does not exist” error

Solution: You will need to create KDS Root key if get error: “Key does not exist”

 

More info:

Azure ATP setup

Server Core setup:

https://docs.microsoft.com/en-us/azure-advanced-threat-protection/atp-silent-installation

Azure ATP Configuration

       https://docs.microsoft.com/en-us/azure-advanced-threat-protection/install-atp-step5

Troubleshooting

https://docs.microsoft.com/en-us/azure-advanced-threat-protection/troubleshooting-atp-known-issues#:~:text=Troubleshooting%20Azure%20ATP%20Known%20Issues%201%20Sensor%20failure,virtual%20machine%20sensor%20issue.%20…%20More%20items…%20

                                                                               ******

Thanks for reading this blog. Our next discussion topic would be the “AATP Operation” blog article.

Happy AATP Monitoring!

 

Disclaimer

The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.

 

Fiji DST end date correction update now available

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

The September 2020 Cumulative Update Preview for Windows 10 includes the following correction to the Daylight Savings Time (DST) end date for Fiji:

 

  • DST will end in Fiji on January 17, 2021. Due to defined rules in Windows, however, this date is noted in Windows as January 10, 2021, which is incorrect. Installing the September 2020 Cumulative Update Preview (or later) for Windows 10 will fix this issue and ensure that end user devices experience the correct DST transition on January 17th.
  • This correction is for devices running the following versions of Windows 10:
    • Windows 10, version 1809
    • Windows 10, version 1903
    • Windows 10, version 1909
    • Windows 10, version 2004
  • Devices running other supported versions of Windows will see the relevant changes in the October monthly quality update.

For Microsoft’s official policy on DST and time zone changes, please see Daylight saving time help and support. For information on how to update Windows to use the latest global time zone rules, see How to configure daylight saving time for Microsoft Windows operating systems.

A Real Example: How to debug Azure Stream Analytics jobs locally using job diagram

A Real Example: How to debug Azure Stream Analytics jobs locally using job diagram

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

Azure Stream Analytics is a full managed service for real-time analytics. In addition to the experience in Azure portal we have developer tools which make development and debugging easier. This blog will introduce a new debugging feature in Azure Stream Analytics tools extension for Visual Studio Code. 

 

Have you ever faced a situation where your streaming job produces no result or unexpected results and you don’t know how to trouble shoot which parts go wrong? We are happy to announce the roll out of the newest debugging feature – job diagram debugging in Visual Studio Code extension for Azure Stream Analytics. This feature brings together job diagrams, metrics, diagnostic logs, and intermediate results to help you quickly isolate the source of a problem. You can not only test your query on your local machine but also connect to live sources such as Event Hub, IoT Hub. The job diagram helps you tunderstand how data flows between each step, and you can view the intermediate result set and metrics to debug issues. You can iterate fast because each local test of the job only takes seconds. 

 

This blog will use a real example to show you how to debug an Azure Stream Analytics job using job diagram in Visual Studio Code.  

 

Note 

This job diagram only shows the data and metrics for local testing in a single node on your own machine. It should not be used for performance and scalability tuning. 

 

Step 1 Install the tools 

vscode-signin.png

 

 

 

Step 2 Open your job in Visual Studio Code 

Please go to step 3 if you already have your Azure Stream Analytics project opened in Visual Studio Code.  

 

Open the Azure Stream Analytics job you want to debug on the Query Editor on Azure portal. Select from drop down Open in Visual Studio and choose Visual Studio Code. Then choose Open job in Visual Studio Code. The job will be exported as an Azure Stream Analytics project in Visual Studio Code. 

 

portal-openinvscode.png

 

 

portal-openinvscode2.png 

Step 3 Run job locally 

Since the credentials are already auto-populated, only thing you need to do is to open the script and Run locallyMake sure the input data is sending to your job input sources. 

 

vscode-localtesting.png

 

Step 4 Debug using job diagram 

The job diagram shown on the right window of the editor shows how data flows from input sourceslike Event Hub or IoT Hub, through multiple query steps to output sinks. You can also view the data as well as metrics of each query step in each intermediate result set to find the source of an issue. 

 

Now, let’s look at a real example job below. We have a job receiving stock quotes for different stocks. In the query there are filters on a few stocks but one output does not have any data. 

 

We run the job locally against live input stream from Event Hub. Through job diagram we can see that the step ‘msftquotes’ does not have data flowing in.    

vscode-debugging1.png

 

To troubleshoot that, let’s zoom in the diagram and select the upstream step typeconvertedquotes’ to see if there is any output. In the node it shows that there are 3135 output events. Also, from the Result tab below it is easy to find out that there are data been output from this step with symbol ‘MSFT’. 

vscode-debugging2.png

 

Then we select the step ‘msftquotes’ and locate to the corresponding script to take a closer look.  

vscode-debugging3.png 

Now we find the root cause – there is a typo in the script, ‘%MSFT%’ is mistakenly typed as ‘%MSFA%’.  

MSFTQuotes AS ( 

    SELECT typeconvertedquotes.* FROM typeconvertedquotes 

    WHERE symbol like ‘%MSFA%’ 

    AND bidSize > 0 

), 

 

Let’s fix the typo, stop the job and run again. 

 

Look, the data is flowing into step ‘msftquotes’ and the other downstream steps. 

vscode-debugging4.png

 

Other than checking the result for each step, you can also view logs and metrics for the job.  

 

Step 5 Submit to Azure

When local testing is done, submit the job to Azure to run in the cloud environment and further validate the job status in a distributed manner. 

 

Hope you find these new features helpfuland please let us know what capabilities you’re looking for with regard to job debugging in Azure Stream Analytics!