Forum Discussion
Microsoft teams developer API in Node JS
Hi I am new to Microsoft teams community.I want a little help regarding MS Account.I am using Azure Account on my personal mail (I don't have work mail) to use for Microsoft Graph API to authenticate my app in azure portal.The Authentication is successfull using Oauth flow.But when i access other API endpoints such as to get the teams that the user has joined or channels It says that i should have office ms licence.In Microsoft Graph API does some endpoints need WORK Account(ms office account) for accessiong these Endpoints.If so do i buy the microsoft 365 license.
When working with Microsoft Graph API, some endpoints indeed require a Microsoft 365 license or a work/school account. Here's a bit more details:
-
Microsoft Graph API Endpoints: Microsoft Graph provides access to various resources and services across Microsoft 365. For certain endpoints, especially those related to Teams, SharePoint, and other Office 365 services, the API calls are tied to resources that are only available through Microsoft 365 subscriptions.
-
Work or School Accounts: To access data related to Teams, SharePoint, or other enterprise features, you typically need to be using a work or school account, which is part of an organization that has a Microsoft 365 subscription. Personal Microsoft accounts (like those that end in
@outlook.com
,@hotmail.com
, etc.) do not have access to these enterprise features. -
Microsoft 365 License: If you need to work with Teams, channels, or other specific Microsoft 365 features through the Graph API, you will indeed need a Microsoft 365 license. This is because the data you’re trying to access is tied to a subscription service that requires a license.
Options:
-
Get a Microsoft 365 Trial: Microsoft offers trial licenses for Microsoft 365 that you can use to test and develop your application. This way, you can access the endpoints you need without immediately committing to a full license purchase.
-
Reference Documentation: Review the Microsoft Graph documentation for details on specific endpoints and their requirements. The Microsoft Graph API documentation will help you understand which endpoints require specific types of accounts and licenses.
If your application needs to interact with Teams or other Office 365 services via Microsoft Graph API, a Microsoft 365 license is generally required, and using a work or school account is necessary for accessing these resources.
-
- Sayali-MSFTMicrosoft
When working with Microsoft Graph API, some endpoints indeed require a Microsoft 365 license or a work/school account. Here's a bit more details:
-
Microsoft Graph API Endpoints: Microsoft Graph provides access to various resources and services across Microsoft 365. For certain endpoints, especially those related to Teams, SharePoint, and other Office 365 services, the API calls are tied to resources that are only available through Microsoft 365 subscriptions.
-
Work or School Accounts: To access data related to Teams, SharePoint, or other enterprise features, you typically need to be using a work or school account, which is part of an organization that has a Microsoft 365 subscription. Personal Microsoft accounts (like those that end in
@outlook.com
,@hotmail.com
, etc.) do not have access to these enterprise features. -
Microsoft 365 License: If you need to work with Teams, channels, or other specific Microsoft 365 features through the Graph API, you will indeed need a Microsoft 365 license. This is because the data you’re trying to access is tied to a subscription service that requires a license.
Options:
-
Get a Microsoft 365 Trial: Microsoft offers trial licenses for Microsoft 365 that you can use to test and develop your application. This way, you can access the endpoints you need without immediately committing to a full license purchase.
-
Reference Documentation: Review the Microsoft Graph documentation for details on specific endpoints and their requirements. The Microsoft Graph API documentation will help you understand which endpoints require specific types of accounts and licenses.
If your application needs to interact with Teams or other Office 365 services via Microsoft Graph API, a Microsoft 365 license is generally required, and using a work or school account is necessary for accessing these resources.
- Sayali-MSFTMicrosoftkarthikl981 - Could you please share your valuable feedback via Microsoft Teams Developer Feedback link.
https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7iCOpS5_b9Nqmwx43u5rtZUOThVR081SllSR05aSDQxQ0tUMDVPTVIxTi4u
-