MSBA-230 · Lesson 10 of 12 · 19 min
Survivable branch appliances
▶ Video coming soon A video version of this lesson is on the way.
The satellite office is a two-room Corvallin office in a rural community health building, shared under a contract with the provincial health authority. Six staff work there: two schedulers, two care coordinators, a nurse who runs a weekly clinic, and a part-time administrator. Its internet comes over a single link from a small provider, and Felix's monitoring showed it had dropped eleven times between June and October 2026, usually for under an hour, once for most of a day after a storm. When the link fails, a cloud phone system fails with it, and the satellite office is the only place many families in that area can call to reach Corvallin.
The tenth workshop designed the answer: a Survivable Branch Appliance (SBA). This lesson explains what an SBA does, what keeps working during an outage, what it requires, how it is configured, and its limits, all of which Microsoft documents in detail and the MS-721 exam tests.
What an SBA does
An SBA is software, provided by Microsoft to SBC vendors, that runs embedded in a certified SBC's firmware or alongside it as a virtual machine or appliance at the branch. In normal operation, Teams clients at the branch use Teams Phone through the cloud, with the local SBC handling Direct Routing calls with media bypass. If the branch loses its internet connection but its internal network is still working, Teams clients detect the outage and switch to appliance mode, registering with the SBA instead of the cloud. Calls to and from the PSTN then flow through the local SBC and its carrier trunk, which does not depend on the internet link.
Calls already in progress continue without interruption. The client shows a banner saying it is in a limited mode; that banner is the only sign users see. When the internet connection returns and calls have finished, the client switches back to normal mode, and the SBA uploads its call records to the cloud so that they appear in users' call history.
What works in appliance mode
Microsoft lists what works while a client is registered with the SBA. Users can make and receive PSTN calls, with media flowing through the SBC. They can hold and resume calls, make blind transfers, and forward calls, including forwarding unanswered calls, to a phone number or another Teams user. Inbound PSTN calls can be redirected to a call queue or auto attendant, or to an alternative destination. If a Teams-to-Teams call cannot be set up, it falls back to a PSTN call when the other person has a PSTN number. Users registered to the same SBA can also call each other over the local network.
Much else stops. Chat, presence, meetings, voicemail and anything else that needs the cloud are unavailable until the link returns, and features that depend on cloud services, such as consultative transfer or call queues hosted in the cloud, do not run on the SBA itself. The design goal is narrow: the branch can still make and take phone calls.
| In appliance mode | Status |
|---|---|
| Inbound and outbound PSTN calls | Work, through the local SBC |
| Hold, resume and blind transfer | Work |
| Call forwarding, including unanswered | Works |
| Calls between users on the same SBA | Work |
| Redirecting inbound calls to a queue or auto attendant | Works |
| Chat, presence, meetings and voicemail | Unavailable until the link returns |
| Sharing location on emergency calls | Not supported; calls still connect |
| Emergency call routing policies | Not applied |
| Switching to another tenant | Not supported |
Supported clients
Appliance mode works with the Teams desktop client on Windows and macOS and with Teams phones. The desktop clients must run on physical machines; virtual desktops and the web client are not supported. Mobile apps are not listed. This mattered at the satellite office, where one coordinator used a Windows 365 Cloud PC from a thin client. Felix arranged a Teams phone on her desk, so that she could still take calls during an outage.
Requirements
An SBA needs a Direct Routing deployment with a certified SBC, because the SBA uses that SBC to reach the PSTN. Calls for SBA users must use media bypass, so that the media path between clients and the SBC does not depend on the cloud. The SBA must be firewalled correctly: Microsoft lists the ports between the SBA and Teams clients, between the SBA and the SBC, to a time server and to Microsoft 365, and the Azure IP ranges it must reach. The SBA's operating system needs TLS 1.2.
Authentication is the subtle part. In normal operation, clients obtain tokens from Microsoft Entra ID. During an outage, they cannot. Microsoft documents that the SBA accepts client tokens for up to seven days after they expire, and that a client can reconnect using locally cached credentials even after a restart, as long as those credentials were cached before the outage. A client that has not connected to the SBA within the previous 24 hours cannot use it, so a laptop that was away from the branch for a week will not work in appliance mode on its first day back during an outage. If the tenant uses Continuous Access Evaluation tokens, the SBA works for only about 30 minutes; Microsoft's documented alternative is turning off CAE for the tenant, which is a security decision, not a telephony one.
Configuring an SBA
Microsoft supports configuring SBAs with Teams PowerShell; the Teams admin center does not offer it. There are four steps. First, create the SBA object with New-CsTeamsSurvivableBranchAppliance, naming its FQDN. Second, create a branch survivability policy with New-CsTeamsSurvivableBranchAppliancePolicy, listing one or more SBAs. Third, assign the policy to the users at that branch with Grant-CsTeamsSurvivableBranchAppliancePolicy. Fourth, register an application in Microsoft Entra ID for the SBA, with the permission Microsoft specifies, and give the application ID and a client secret to the SBC vendor's configuration. One application serves every SBA in the tenant.
# Satellite office SBA (fictional FQDN and user)
New-CsTeamsSurvivableBranchAppliance -Fqdn "sba1.voice.corvallincare.example" `
-Description "Satellite office SBA"
New-CsTeamsSurvivableBranchAppliancePolicy -Identity "Satellite-SBA" `
-BranchApplianceFqdns "sba1.voice.corvallincare.example"
Grant-CsTeamsSurvivableBranchAppliancePolicy -Identity "r.ashby@corvallincare.example" `
-PolicyName "Satellite-SBA"New SBAs and policy assignments can take time to appear, so Microsoft advises patience before testing. Problems with the SBA itself are reported to the SBC vendor's support, mentioning that an SBA is configured.
Emergency calls through an SBA
Lesson 7 introduced the limitation: emergency calls still work in appliance mode, but location is not shared, and emergency call routing policies do not apply. Emergency dial strings are sent without normalization, so the call fails unless the user's ordinary voice routing policy contains a route whose pattern matches the emergency number as dialled. Ludovica's design added that route to the Satellite-Users routing, and asked the carrier to hold the satellite office's address against the trunk's numbers, so that a 9-1-1 call during an outage would reach the right PSAP with the building's address even without Teams location data.
Is an SBA worth it?
An SBA adds an on-site SBC, a carrier trunk, firewall rules, an Entra application with a secret to rotate, and a dependency on token rules that affect security choices. It is worth it where losing phone service during internet outages is not acceptable and a second internet link is not practical. Alternatives include a second internet link from a different provider, mobile phones as a fallback, or forwarding the branch's numbers to another site during an outage, which an operator or carrier can often do on request.
For the satellite office, Corvallin had asked for a second link and been told the only other option was satellite internet with high latency, poor for voice. Forwarding to head office during outages was possible but meant families reached a scheduler who did not know the area. Ines approved the SBA, with one condition: the CAE question had to be settled with Teodor before go-live, because Microsoft's documented alternative was turning off CAE for the whole tenant, and neither of them wanted to weaken sign-in security for 450 people to protect six phones. If the documentation had not changed by then, the satellite office would accept the 30-minute window and fall back to forwarding for longer outages.
Worked problem
The client that would not switch
In the outage test at the satellite office, Northlight disconnects the internet link. Five clients switch to appliance mode within a minute; one laptop does not, and its user cannot make calls. What are the likely causes?
Show solution
- Check the client type: it is the Teams desktop client on a physical Windows laptop, which is supported.
- Check the policy: the user has the Satellite-SBA policy.
- Check when the laptop last connected to the SBA: its user had been at head office for nine days and returned that morning, shortly before the test.
- A client must have connected to the SBA within the previous 24 hours, with credentials cached before the outage.
Answer: The laptop had not connected to the SBA recently enough to authenticate during the outage. After the link returned and the laptop connected normally, a second test an hour later worked. The support handbook now says returning users should sign in to Teams on the office network at the start of the day.
Local Media Optimization
Local Media Optimization (LMO) is a related Direct Routing feature for organizations whose SBCs sit at central sites while users work at many branches. With LMO, the SBC learns whether a user is internal or external and at which site, and keeps media on the shortest path, for example between a branch user and a local SBC, instead of sending it through a central SBC or Microsoft's media processors. It depends on network topology, configured in Teams as network regions, sites and subnets, and on SBC settings. It suits large organizations with regional SBCs and a private network between sites.
Corvallin's design did not need LMO. Its desk users were on Operator Connect, and the only on-site SBC was at the satellite office, where every user was local. Ludovica explained it because the MS-721 exam asks when LMO applies, and because Northlight used it for a client with fourteen sites and two regional data centres.
Operating the SBA
An SBA is another device to look after. Northlight would update the SBC firmware, including the embedded SBA, on the same schedule as the cloud SBCs, rotate the Entra application's client secret before it expired, and run an outage test at the satellite office every quarter, with the result written into Corvallin's change log. Felix added two items to the IT team's calendar: a reminder thirty days before the secret expired, and the quarterly test date, so that the test would happen even if Northlight's engineer changed.
Testing a failover
An SBA that has never been tested in a real outage is a hope, not a plan. Ludovica's test plan for the satellite office was a scheduled exercise outside business hours. First, confirm that calls work normally. Then disconnect the office's internet connection at the firewall, wait for the Teams clients and phones to show that they are in survivable mode, and make a set of test calls: an outbound call to a mobile phone, an inbound call to a direct number, a transfer between two local users, and a call on hold and resumed. Then restore the connection and confirm that phones return to normal and that the call history appears in Teams.
Each test is recorded with the time, the result and anything unexpected. The exercise should be repeated after major SBC firmware updates and at least once a year. Felix scheduled the first test for a Saturday morning after the satellite office went live, with Northlight on a call and one volunteer from the office making calls.
Licensing and cost
Microsoft does not sell the SBA itself. SBC vendors certified for SBA provide it as software on their appliances, and the SBA needs to be registered with an application in Microsoft Entra ID and configured in Teams. The cost is therefore the SBC vendor's licence for the SBA feature, the work to set it up, and the time to test and maintain it. For a small office, that cost is compared with the alternatives: a second internet link, mobile phones for the most important users, and forwarding the main number to a mobile phone during an outage.
A decision record
Felix wrote the SBA decision as a one-page record: the risk being addressed, the options considered, the choice, the conditions attached, and who approved it. The conditions were the CAE question and the failover test. A year later, when someone asks why the satellite office has an SBA and the branches do not, the record will answer the question without anyone having to remember the workshop.
Common mistakes
MistakeExpecting chat, meetings and voicemail to work through an SBA.
InsteadThe SBA keeps PSTN calling working; cloud features wait for the link.
MistakePlanning appliance mode for web clients or virtual desktops.
InsteadUse Teams desktop clients on physical machines or Teams phones.
MistakeDeploying an SBA without media bypass.
InsteadMedia bypass is required for SBA calls.
MistakeAssuming emergency calls carry location in appliance mode.
InsteadPlan a routing pattern and carrier-held address for outage emergencies.
Summary and key terms
- An SBA keeps PSTN calling working at a branch that loses internet but keeps its local network.
- Clients switch to appliance mode automatically; calls in progress continue.
- Supported: PSTN calls, hold, blind transfer, forwarding and calls between users on the same SBA.
- Requires Direct Routing, a certified SBC with media bypass, firewall rules and an Entra application.
- Configured with PowerShell: SBA object, branch survivability policy, user assignment.
- Limits: desktop clients and Teams phones only, token windows, CAE, and no location on emergency calls.
- Survivable Branch Appliance (SBA)
- Software with a branch SBC that keeps PSTN calling working during an internet outage.
- Appliance mode
- The limited mode a Teams client uses while registered with an SBA.
- Branch survivability policy
- A policy that lists the SBAs a user can use.
- Blind transfer
- Transferring a call without first speaking to the person it is transferred to.
- Continuous Access Evaluation (CAE)
- A Microsoft Entra feature that lets token access be revoked quickly, which limits SBA use.
- Media bypass
- Audio flowing directly between client and SBC, required for SBA calls.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which clients support appliance mode?
Show answer
Teams desktop clients on physical Windows and macOS machines, and Teams phones.
How long after expiry does the SBA accept client tokens?
Show answer
Up to seven days.
Where is an SBA configured in Teams?
Show answer
With Teams PowerShell; the admin center does not support it.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.