User Profile
SadPython
Copper Contributor
Joined 8 months ago
User Widgets
Recent Discussions
Using microsoft graph to pull calendar data weekly
Hello- I've building an app that requests calendar access from users with Graph API. I am hoping to request permissions once and then pull calendar data weekly but I'm not sure if this is possible. I'm using the python ms-graph sdk and the interactive authentication client to request access. I am seeing some things about offline_access scope providing a refresh token but unsure how it works and the docs I found haven't been helpful. Any help would be appreciated!107Views0likes0CommentsValidate authToken from Teams-js
I'm getting an auth token from the authentication module in the `microsoft/teams-js` library. Since I want to use the `preferred_username` to link users to existing accounts in my app, I need to validate that the auth token is legit. I'd like to validate against a public key that the JWT token has not been tampered with in my server code before I link users. How can I do this? My app is a django app on the backend.269Views0likes1CommentRe: Trying to understand MS Teams "Tab App"
In the authentication case, is SSO enough to sign users into the app if they have an existing account? That is, if I request and validate an auth token via the SSO flow, can I then find the user in my main app's database and log them in securely?765Views0likes0CommentsCan I use Teams SSO to authenticate users into my main app?
I have an app I want to embed as a tab in MS Teams. Users may already have an account outside of teams and I use magic login link to typically to log users in. I want to know if I can leverage teams tab SSO to log users into their existing account. So my idea is: User has an account with my app already. It is associated with their organization email. They access my app in Teams and grant permissions necessary, my app gets an auth token and validates it If that is successful, I find the user's account associated with their email and log them in with a magic login link I'm wondering if this is a valid use case for teams tab sso? Is it enough to trust that the validated token means the user is good and can be logged in? I know typically there is a "sign in with microsoft" idp option but that is a larger lift. Was wondering if there are big security red flags here. I want to make sure that when a token is validated I can link a user from MS Teams to their account in main app via email and log them in.528Views0likes2CommentsRe: How to call microsoft graph api inside my web app?
How do I do step 1? This is an external facing app and the user is logged into teams. When they install or open the tab, I want to prompt them that specific permissions are required and if they accept then my app grabs user information. All of the guides I see are using SSO but I can't manage SSO on my side and the client's side.735Views0likes1CommentDeveloping an external teams tab- do I need microsoft entra?
I'm creating an external facing teams tab which can be downloaded by anyone with a teams client. I do need to gather context about the user and gain access to calendars. From my understanding, SSO might require setup from my side and the user's org. Is there a way for me to access user information such as email and access calendars in a tab? I don't think I need SSO setup from my end so do I still need to set up entra and register my app there? Are there docs for this process?240Views0likes1CommentMicrosoft Teams Tabs App Cannot Be Found
Hi- I'm using the teams toolkit to develop a personal tab. All I am doing is have the manifest point towards an existing web app I have hosted already. Now the issue is after I registered the app in MS Entra ID and change my app ID locally to point to the new app to debug locally in chrome I get this error. I see the output say: `Teams web client is being launched for you to debug the Teams app: https://teams.microsoft.com/l/app/MY_APP_ID?installAppPackage=true&webjoin=true&appTenantId=a17ff238-b223-4800-98a0-d8f5705b57ce&login_hint=MY_EMAIL.` and I've verified my app_id and tenant_id match with the App Registration page. How can I get this app to show up when debugging locally? I've made sure my manifest also points towards the registered app. I'm not sure how to get it to show up locally now. Is there a separate local vs. production app id?Solved622Views0likes3CommentsRe: Embed existing app in teams tabs
If my goal was to upload this to the MS app store for everyone, would I still just need to package my zip and icons? Also, the manifest accesses env variables I have stored somewhere. Do I include that in the appPackage? Or do I need to hardcode that info? If I'm hosting my existing app on aws, can I host the app package in S3 as well? I'm not sure I can spin up an entire azure tech stack for this.764Views0likes1CommentEmbed existing app in teams tabs
I have an existing web app and I'd like to deploy a teams tab to the MS app store that simply embeds my app. I'm wondering if there is a way to avoid building an entirely separate app. I'd like to just add a manifest file to my existing repo and feed that to the teams client. Would this be possible?908Views0likes3CommentsMS Teams Tab sending chats?
I noticed some tabs have a chat tab that corresponds to a chat in the messages tab on the teams client. I'm wondering how you can do that all in one because the docs seem to specify messaging capabilities is a chatbot feature. I'm looking at this and it isn't clear that my tabs app can send messages as well. https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-with-tabs732Views0likes4CommentsPermissions for a static teams tab
If I am building a basic teams tab that is just a static site with buttons for redirect, do I need to request any permissions? I'm looking at this: https://learn.microsoft.com/en-us/graph/permissions-reference and nothing seems relevant in the first iteration but eventually I do want to add SSO and get User.Read access for personalization.367Views0likes1CommentArchitecture of teams tab app?
I'm looking into a teams tab integration for a web app. The idea is this teams tab app will just be a static page for now with some buttons that redirects users. When reading the docs on getting started building I noticed they tell you to provision and deploy your app. I'm wondering if this means the app is actually deployed somewhere (running on a machine) and teams just embeds it or if teams is downloading the source code when you install an app on your client? The ultimate goal is to submit this to MS to publish to the MS store but I'm having trouble understanding what is actually being hosted and how teams accesses the content. Any information would be helpful!497Views0likes1Comment
Groups
Recent Blog Articles
No content to show