Your app is running
+ + ++ The SharePoint Framework (SPFx) is a extensibility model for Microsoft Viva, Microsoft Teams and SharePoint. It's the easiest way to extend Microsoft 365 with automatic Single Sign On, automatic hosting and industry standard tooling. +
++ An Azure Functions app is running. Authorize this app and click below to call it for a + response: +
+ {!loading && ( + + )} + {loading && ( +++ )} + {!loading && !!data && !error &&+
{JSON.stringify(data, null, 2)}} + {!loading && !data && !error && } + {!loading && !!error &&
+ See the code in {codePath}
to add your business logic.
+
+ For more information, see the{" "} + + docs + + . +
+ )} +Access basic information about the user like this:
++ {`const authConfig: TeamsUserCredentialAuthConfig = {\n clientId: process.env.REACT_APP_CLIENT_ID,\n initiateLoginEndpoint: process.env.REACT_APP_START_LOGIN_PAGE_URL,\n};\n\nconst credential = new TeamsUserCredential(authConfig);\nconst user = await credential.getUserInfo();`} ++ {!!userName && ( +
+ The currently logged in user's name is {userName} +
+ )} ++ Before publishing your app to Teams App Catalog, you may want to provision and deploy your + app's resources to the cloud to make sure your app will be running smoothly! +
++ To provision your resources, you can either use our CLI command "teamsapp provision" or + apply "Teams: Provision" in Command palette. +
++ To deploy your app, you can either use our CLI command "teamsapp deploy" or apply "Teams: + Deploy" in Command palette. +
++ For more information, see the{" "} + + docs + + . +
+
+ The front end is a create-react-app
. The entry point is{" "}
+ {tabCodeEntry}
. Just save any file and this page will reload automatically.
+
+ This app contains an Azure Functions backend. Find the code in{" "}
+ {functionCodePath}
+
+ Your app's resources and infrastructure are deployed and ready? Publish and register your + app to Teams app catalog to share your app with others in your organization! +
++ For more information, see the{" "} + + docs + + . +
+Your app is running in {hubName}
} +Your app is running in your {friendlyEnvironmentName}
+ +