Back to Blog

    Replit & Vibe Coding

    Internal Phone Book as a Teams App — Developed with Replit

    Case study: an internal contact directory as a Teams app with SSO, CSV export and SharePoint backups, developed with Replit.

    July 22, 20262 min read
    Marcel Haas

    Marcel Haas

    Solution Architect, CEO

    marcel.haas@cnext.ch
    In this article

    An internal phone book sounds simple. In day-to-day work, though, what counts is that contacts are available where staff already work: in Microsoft Teams.

    For Maurus Schifferli's office, a tailored web application was therefore built as a Teams tab.

    The starting point

    The office manages employees, partners and project contributors with names, email addresses, phone numbers, roles, team memberships and project links. The new requirement was to have this directory available directly in Teams.

    What the app does

    • Search and filter contacts: by name, email and team.
    • Open Teams actions: start a call, chat or email from a contact, depending on client and policy.
    • Assign projects: show who is involved in each project.
    • Export to CSV: the whole directory or a filtered selection, with a BOM for Excel.
    • Trigger backups: daily and manual exports to SharePoint, and restoration from an existing backup.

    Teams SSO: convenient, but not the whole of access control

    With Teams SSO, the tab requests a Microsoft Entra ID access token through the Teams JavaScript SDK. The back end must validate the signature, issuer, audience, expiry and required permissions. The application then has to decide for itself which signed-in person may see or change which contacts.

    A valid token therefore replaces neither role checks nor server-side authorisation. Whether the application can be reached from outside is determined not by SSO alone but also by publishing, network access and application configuration.

    Development and operation

    The application uses React/Vite for the front end, Express and Drizzle ORM for the back end, and PostgreSQL for structured data. Replit served as the development environment; where the production application and its data run is decided separately.

    For published applications, Replit documents an EU project geography, among others, but no Swiss region. Workspace geography and publishing geography need to be considered separately. Under Replit's shared responsibility model, the operator also remains responsible for application logic, roles, privacy notices, dependencies and app-specific testing.

    What the project shows

    An embedded application can cut down on searching and switching between tools. What counts for production use, whatever the development tool, is verified authentication and authorisation, data protection and encryption, monitoring, tested restores from backups, a retention and deletion policy and a documented operating model.

    Sources (as of 8 September 2026): Microsoft: SSO for Teams tabs · Replit: project geography · Replit: shared responsibility model

    ReplitVibe CodingTeamsSchweiz
    Teilen:

    AI tools may have supported the creation of this article. CNEXT is responsible for the published content. Product features and prices can change; check the linked primary sources for current details.

    Marcel Haas

    Marcel Haas

    Solution Architect, CEO

    6x Microsoft Applied Skills

    Discover our Replit offering

    Our Replit offering at a glance.