This blog is about Microsoft technologies and solutions. The focus is on Microsoft 365, Office 365, Azure, Collaboration, Security and Compliance topics and AI (Copilot, AzureOpenAI and Google Gemini)
Donnerstag, 7. September 2023
All You Need is Guest
Dienstag, 15. Februar 2022
Restrict Microsoft Teams Copy & Paste
For example, it can prevent users from copying content from Teams chats and posting it in other apps. In general, it is important to consider whether these restrictions apply to the web version of Microsoft Teams or to the Teams client/app. Both can be restricted, but different solutions are used in each case:
Restrict copy & paste when accessing via the browser
- Send item
- Send Teams message
Restrict copy & paste when accessing via Teams client / Teams app
- Backup org data to Android backup services
- Send org data to other apps
- Receive data from other apps
- Screen capture
- Printing org data
- Restrict web content transfer with other apps
Freitag, 26. November 2021
Step by Step guide - limit access to Teams
Step by Step guide & scenarios to limit access to Teams (SharePoint, Exchange, etc.) from an unmanaged device.
- Access to teams should only be possible via the browser, which has the advantage that no local log files etc. are written or data is not stored in a local device backup. This is especially important for mobile devices (iOS, Android), as these backups may be stored in further cloud services.
- Download of files should not be possible. Accessing and editing in the browser shall be possible.
- Download, access and editing of files should not be possible.
Solution
- App Restriction (SharePoint & EXO Admin Center)
- Azure AD Conditional Access
- Conditional Access App Control, as described here: Use app enforced restrictions vs. Use Conditional Access App Control
- Authentication Context, as described here: Azure AD Conditional Access | Authentication Context
Step by step guide on the example
Tips & Tricks
- It can take several minutes for a Conditional Access policy to take effect / for a change to take effect.
- For tests in which policies are changed, the following applies: Always log off, close browser / clear browser cache, wait several minutes and then log in again.
Samstag, 30. Oktober 2021
Azure AD Conditional Access | Authentication Context
The Authentication Context feature can be used to add additional and granular security to access apps or data in apps such as SharePoint or Exchange.
Example: Access to SharePoint sites or data in SharePoint is only permitted with devices managed in Intune. This is enforced via a conditional access policy. For special SharePoint sites containing highly sensitive data, access is also only permitted from the company network.
Until now, this was not possible because a conditional access policy always referred to the app as such, i.e. to SharePoint in the example above. With the Authentication Context in a Conditional Access Policy, this scenario is now possible.
Authentication Context
The feature is still in preview. The following limitations apply to the preview:
- Deleting authentication context definitions is not possible in the preview.
- The preview is limited to a total of 25 authentication context definitions.
An Authentication Context is created in the Conditional Access menu in the Azure Portal:
Using an Authentication Context
Samstag, 7. August 2021
Use app enforced restrictions vs. Use Conditional Access App Control
App Enforced Restrictions
Generally, these settings can be configured in the SharePoint Admin Center:Options with Sensitivity Label
The solution via Sensitivity Label means that the settings in the SharePoint Admin Center are no longer used. The label offers the same options as for example "Allow limited, web-only access":Limitations of the solution with App Enforced Restrictions
- If you limit access on unmanaged devices, users on managed devices must use one of the supported OS and browser combinations, or they will also have limited access.
- If you limit access and edit a site from an unmanaged device, image web parts won't display images that you upload to the site assets library or directly to the web part.
- If you're using classic SharePoint site templates, site images may not render correctly. This is because the policy prevents the original image files from being downloaded to the browser.
- When Access Control for Unmanaged Devices in SharePoint is set to Allow limited, web-only access, SharePoint files cannot be downloaded but they can be previewed. The previews of Office files work in SharePoint but the previews do not work in Microsoft Yammer.
Use Conditional Access App Control
To create rules more granular / with advanced options, "Block Download" can also be enforced with Cloud App Security. This is done by using the "Conditional Access App Control" options in Conditional Access in Azure AD:This also
allows scenarios such as assigning a sensitivity label as soon as a document is
downloaded.
- Add file filters to the policy: Extension, File Name, File Size, Sensitivity Label
- Inspection Method: Can be used to configure include or exclude conditions
- Actions: Block, Protect (Apply sensitivity label to downloads & monitor all activities), require step-up authentication like MFA etc.,
- Configure Alerts
What is the difference
between "Use app enforced restrictions" and "Use Conditional
Access App Control"?
If the focus is only to prevent downloading on a
unmanaged device, this can be achieved with both methods. The method via
Microsoft Cloud App Security offers more detailed options, is not limited to
SharePoint and Exchange, and does not have the limitations of App Enforced
Restrictions. (see Limitations of the solution with App Enforced Restrictions)
Another significant difference is the license required in each case. App
Enforced Restrictions in combination with Azure AD Conditional Access required
only an Azure AD P1 license. The Conditional Access App Control solution
requires a Cloud App Security license for all affected users.Donnerstag, 11. Februar 2021
Microsoft Teams only
When you need to establish HOME Office workplaces quickly and easily, a Microsoft Teams Only setup is an option. Of course, a planned and coordinated rollout of Office 365 overall, including an adoption and training concept, is the preferred approach. Nevertheless, sometimes it simply has to go fast and then a pragmatic solution is required.
Overview
If the focus is a solution for virtual meetings and collaboration, the planning approach is primarily about not encouraging uncontrolled sprawl in the involved backend systems SharePoint, Exchange and Azure AD. The Microsoft Team service is based on these services and therefore cannot work without them. This is also reflected in the fact that by assigning a Microsoft Teams license, access to SharePoint is also technically included.Minimum technical requirements
Azure
Active Directory Account / synchronized identities to Azure Active Directory
Exchange
Online / Exchange Hybrid: Details: https://docs.microsoft.com/en-us/microsoftteams/exchange-teams-interact
The SMTP
matching to match on-premises user accounts to Office 365 user accounts option
can be used to merge mailboxes at a later date. This is relevant when users and
mailboxes need to be created in Exchange Online in parallel with existing
mailboxes in Exchange Server on-premises, for example because Exchange Hybrid
cannot be implemented in a short term.
SharePoint
Online & OneDrive for Business: Details: https://docs.microsoft.com/en-us/microsoftteams/sharepoint-onedrive-interact
The following is not a general recommendation. The described actions make sense if the goal is to use Microsoft Teams only as an ad hoc solution for online meetings etc. and not to use any other Office 365 service for now.
- Restriction that users cannot create additional SharePoint Site Collections.
- Further options for restrictions in SharePoint Online & OneDrive:
- Restrict content from being shared anonymously.
- Conditional Acceess Policy that only allow access to SharePoint. This prevents services such as PowerApps and Power Automate being used in SharePoint.
Licenses /
Apps:
The
bracketed apps in the following list are not mandatory to work with Microsoft
Teams as such. However, the Teams App license as such must be assigned to a
user so that the basic Teams functions are available and the client can be
used:
Microsoft
Teams, (SharePoint & OneDrive), (Exchange Online), (Office for the web),
(Microsoft Planner), (Microsoft Stream), (Whiteboard).
He can
still chat with other users.
Weitere Details und Abhängigkeiten sind in diesem Artikel
von Microsoft beschrieben: Prerequisites
and environmental dependencies for Teams.
Tips
To keep track of Teams usage and keep users themselves engaged, Microsoft is already providing some Azure features:
- Azure AD Access Reviews, showing which Teams are in active use: https://docs.microsoft.com/en-us/azure/active-directory/governance/access-reviews-overview
- Azure AD Expiration Policy, which requires Teams Owners / Members to periodically confirm that a Team is still needed: https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-lifecycle
Mittwoch, 30. September 2020
Secure your environment by Conditional Access & App Controls
With the Azure AD Conditional Access feature, rules for access to Microsoft Cloud Services and other apps registered in Azure AD can be bound to conditions.
An example
is the rule: When accessing with an unmanaged device, the user is prompted
to use multi-factor authentication.
With the
feature "Use Conditional Access App Control" as an option in the
Session Controls area within Azure AD Conditional Access, advanced scenarios can be setup.
Options:
- Prevent data exfiltration
- Protect on download
- Prevent upload of unlabeled files
- Block potential malware
- Monitor user sessions for compliance
- Block access
- Block custom activities
Example:
- Automatically assign a sensitivity label when a file is downloaded.
- Filter based on regular expressions: “Include Files that match a custom expression”
- Block Upload if Maleware is detected.
- This is can be done because the Cloud App Security service then acts as a proxy for accessing the application:
Setup Conditional Access App Control
The options listed above affect all resisted apps under https://portal.cloudappsecurity.com/#/connected-apps?tab=proxy. By default, this list is empty:To register an app, the wizard can be used in Cloud App Security via Investigate -> Connected Apps -> Conditional Access App Control Apps. Another and much simpler way is to use a conditional access policy as an easy start:
Azure AD Security -> Conditional Access
New Policy
Section „Access controls“ -> „Session“
Use „Use Conditional Access App Control“
Use „Use custom policy to set an advanced policy in Cloud App Security“
The above
method works for the so called featured apps. In order to make this option work
for the Office 365 Featured Apps, Office 365 must be registered
under "Connected Apps" in Cloud App Security:
Once an app
is registered, session policies can be created that will take effect when the
app is used.
Further scenarios
- Monitor / block activities based on file conditions like Classification Label, File Name, Files Size or File Extension
- Apply rules based on Maleware detection
- Apply classification label to downloads
- Block downloads based on conditions
- Monitor / block activities like Cut/Copy Item, Paste Item, Print Item, Send Item
Impact from the user's perspective
When
opening the app, the user is notified that access is monitored by Cloud App
Security. The fact that a proxy is involved can also be recognized by the URL.
This now has the addition access-control.cas.ms:



















