Unsanctioned Apps in Defender for Cloud Apps: Guide
An unsanctioned app in Microsoft Defender for Cloud Apps is a discovered cloud app you have marked as prohibited. Tagging it lets you monitor its use, and with the right integrations the tag also blocks access on devices and through your gateways.
- The tag is a built-in label. Defender for Cloud Apps ships an Unsanctioned tag for apps you prohibit.
- Tagging alone does not block. It enables monitoring and filtering until an enforcement path is connected.
- Defender for Endpoint blocks automatically. Unsanctioned app domains sync to endpoints as block indicators.
- No endpoint integration, no problem. Generate a block script for your firewall or export the app domains.
- Some Microsoft services cannot be blocked. Defender excludes its own critical services to prevent outages.
What does unsanctioned mean in Defender for Cloud Apps?
Cloud Discovery reports the cloud apps people in your organisation actually use. Each discovered app can be sanctioned, meaning approved, or unsanctioned, meaning prohibited.
Discovery feeds from your firewall and proxy logs, or from Defender for Endpoint signals. Either way, the list reflects real traffic, not what staff say they use.
The Unsanctioned label is a built-in app tag. You will find it on both the Cloud Discovery pages and the Cloud App Catalog, ready to apply to any app.
Tagging is a governance decision, not a technical block by itself. It records that security has reviewed this app and ruled it out for company use.
Review the app before you tag it. The catalog entry shows the app's risk assessment and compliance information, which is the evidence your decision should rest on.
Bluenose's shadow IT product gives the same ruling a home outside Microsoft tenants, across the whole app estate.
How do you mark an app as unsanctioned?
- Open the Discovered apps page in the Microsoft Defender portal.
- Find the app you want to prohibit and check its risk details.
- Select the three dots at the end of the app's row.
- Choose Unsanctioned to apply the tag.
- Filter the list by the tag to confirm the app is marked.
Do the same from the Cloud App Catalog when you are ruling on an app before anyone uses it. The tag exists in both places for that reason.
Note who made the decision in your own records. Defender shows the current tag, not the reasoning, and the reasoning is what the next reviewer will ask for.
One exception is worth knowing. Apps connected through an app connector, or onboarded to the inline proxy, are automatically shown as sanctioned in Cloud Discovery.
Does marking an app unsanctioned block it?
Not on its own. Microsoft's documentation is explicit that unsanctioning does not block use; it makes the app easier to monitor with the cloud discovery filters.
That monitoring stage is still valuable. You can watch how many users and how much traffic the app attracts before you enforce anything.
Set a review date when you choose to monitor rather than block. Unsanctioned-but-tolerated apps have a habit of becoming permanent exceptions nobody re-examines.
Use the breathing room to notify users. Tell them the app is prohibited, explain why, and suggest the approved alternative so the block does not arrive as a surprise.
Check the discovered app's user count while you monitor. Ten casual users and one finance team moving files through an app call for very different enforcement speeds.
If you need enforcement, connect one of the blocking paths below. The tag is what every one of those paths keys off.
Tag first and block a week later. The monitoring window shows you who depends on the app, so you can move them to the sanctioned alternative before access stops.
How does blocking work with Defender for Endpoint?
When your tenant uses Microsoft Defender for Endpoint, the enforcement is automatic. Apps you mark as unsanctioned are blocked on onboarded devices without extra steps.
The domains behind the app sync across to Defender for Endpoint as custom indicators. Network protection on the device then stops traffic to those domains.
Blocking can be scoped to specific device groups. That lets you enforce hard in a regulated department while a pilot group still gets monitored access.
Warn-and-educate pages soften the landing where they are available. Instead of a dead end, users see why the app is blocked and which alternative to use.
Prerequisites matter here. Microsoft lists cloud protection and network protection in Defender for Endpoint, plus its browser protection add-on for non-Microsoft browsers.
How do you block apps with a block script?
Organisations with an on-premises firewall or proxy can enforce the tag there instead. Defender for Cloud Apps generates a block script built for your appliance.
- Tag every app you want blocked as Unsanctioned.
- On the cloud discovery dashboard, open Actions and choose Generate block script.
- Select your appliance type from the list.
- Choose Generate script to build a file covering all unsanctioned apps.
- Import the generated file into your appliance.
The script approach needs no traffic redirection through a proxy. Regenerate and re-import it whenever your unsanctioned list changes, or the firewall rules drift out of date.
Keep the generated file and its import date in your change records. When an app is later sanctioned again, you will need to know exactly which rules to remove.
What if you use a different gateway?
| Enforcement path | Requirement | How blocking happens |
|---|---|---|
| Tag only | Defender for Cloud Apps | No block; monitoring and filtering only |
| Defender for Endpoint | Devices onboarded to MDE | Domains blocked automatically on endpoints |
| Secure web gateways | Zscaler NSS, iboss, Corrata, Menlo, or Open Systems | Unsanctioned apps blocked through the integration |
| Block script | Supported on-premises appliance | Generated file imported to the firewall or proxy |
| Domain export | Any third-party appliance | Export unsanctioned domains and block them manually |
The named gateway integrations block unsanctioned apps like the endpoint path does. They cannot scope blocking by device group, and they lack the warn-and-educate page option.
Whichever path you choose, test with one low-risk app first. A mis-scoped rule that blocks a tool the business needs will cost the programme its credibility.
For anything else, export the domains. Filter the Discovered apps page to Unsanctioned, export the domain list, and configure your appliance to block those domains.
However you found the app, the follow-up belongs in your wider discovery routine. Our guide to shadow IT discovery covers finding the next one.
The programme around those decisions is covered in eliminating shadow IT.
Score new finds with the shadow IT risk assessment before deciding their tag.
Which apps cannot be blocked?
Microsoft protects a set of its own services from blocking, in the interface and in policies alike. The list includes Defender for Cloud Apps itself, Microsoft 365 Security Center, and Microsoft Intune.
The reasoning is operational. Blocking the security console or device management plane would cause the outage you were trying to prevent.
Governance conflicts follow a simple rule. If a manual tag and a discovery policy disagree about an app, the last operation applied wins.
Revisit the unsanctioned list quarterly. Vendors improve their security posture, business needs change, and a tag applied two years ago may no longer be the right call.
That rule makes change control important. Record who changed a tag and why, so a policy run does not silently undo a deliberate exception.
How do discovery policies automate unsanctioned tagging?
Manual tagging works for the apps you already know about. App discovery policies handle the ones you have not seen yet, by matching new activity against rules you set.
A typical policy watches for apps above a risk threshold. When a newly discovered app matches, the policy raises an alert and can apply the unsanctioned tag as its governance action.
Microsoft notes that selecting that governance action also blocks the app where blocking integrations exist. Automation therefore needs the same care as a manual block.
Tune the policy in alert-only mode first. A week of alerts shows which apps the rule would have caught, including any business tool your threshold misjudges.
Review policy matches in your regular shadow IT routine. Automated tags still need a human owner who can explain, or reverse, each prohibition.
Sources
Frequently asked questions
What does unsanctioned mean in Defender for Cloud Apps?
It is a built-in tag marking a discovered cloud app as prohibited for use in your organisation. The opposite tag, Sanctioned, marks an app as approved. Tags drive monitoring, filtering, and blocking integrations.
Does tagging an app as unsanctioned stop people using it?
Not by itself. Tagging enables monitoring through cloud discovery filters. Blocking happens when you connect an enforcement path, such as Defender for Endpoint, a supported secure web gateway, or a generated block script.
How do you generate a block script for unsanctioned apps?
Tag the apps as Unsanctioned, then on the cloud discovery dashboard choose Actions and Generate block script. Pick your appliance, generate the file, and import it into your firewall or proxy.
Can unsanctioned apps be blocked for only some devices?
Yes, with the Defender for Endpoint integration you can scope blocking to specific device groups. The secure web gateway integrations block more broadly and do not offer device-group scoping.
Which apps can never be blocked in Defender for Cloud Apps?
Microsoft's own critical services, including Defender for Cloud Apps, Microsoft 365 Security Center, Microsoft Defender for Identity, Microsoft Purview, and Microsoft Intune. This prevents accidental outages of the security tooling itself.