How to fix 'User login. Teams is disabled for your tenant.' error in graph api callMicrosoft Graph API: 403 Forbidden error when trying to retrieve policies on tenantHow to filter group members in Microsoft graph API?How to got the Teams Channel Chat history from the Microsoft Graph apiAzure Graph API Call get only application groupsIssue with calendar attachments in group event(s)Microsoft Graph API to show actual state of Teams user?Can't get group's unseenCountQuery all teams using GraphGetting error when accessing Microsoft Teams channel messages via Microsoft Graph API: Proxy_InternalServerError
Does unblocking power bar outlets through short extension cords increase fire risk?
I have found a mistake on someone's code published online: what is the protocol?
"This used to be my phone number"
How to not confuse readers with simultaneous events?
Why jet engines sound louder on the ground than inside the aircraft?
How much water can a ship take on before sinking?
The most secure way to handle someone forgetting to verify their account?
Grouping into more groups in one iteration
Whipping heavy cream with melted chocolate
Last-minute canceled work-trip mean I'll lose thousands of dollars on planned vacation
Should I have shared a document with a former employee?
What was the average temperature of space near the Spitzer Satellite Telescope?
Why isn't a binary file shown as 0s and 1s?
Why were these characters absent in Spider-Man: Far From Home?
Arithmetics in LuaLaTeX
Random piece of plastic
"Je suis petite, moi?", purpose of the "moi"?
How to remove the first colon ':' from a timestamp?
Is surviving this (blood loss) scenario possible?
Why can't I hear fret buzz through the amp?
Who determines when road center lines are solid or dashed?
Everyone but three
How did Jayne know when to shoot?
Did Hitler say this quote about homeschooling?
How to fix 'User login. Teams is disabled for your tenant.' error in graph api call
Microsoft Graph API: 403 Forbidden error when trying to retrieve policies on tenantHow to filter group members in Microsoft graph API?How to got the Teams Channel Chat history from the Microsoft Graph apiAzure Graph API Call get only application groupsIssue with calendar attachments in group event(s)Microsoft Graph API to show actual state of Teams user?Can't get group's unseenCountQuery all teams using GraphGetting error when accessing Microsoft Teams channel messages via Microsoft Graph API: Proxy_InternalServerError
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to use Teams graph api to retrieve all channels of a team (group).
I use a 'Get' request on 'https://graph.microsoft.com/v1.0/teams/GroupId/channels'
The response is 'Access Denied', 'User login. Teams is disabled for your tenant.'
Other informations:
I don't have any issue when I use Teams app (web or desktop), the user is the owner of the team (group).
The user is under Office 365 F1 license with teams activated.
He possess the 'security administrator' role.
I retrieve the teams by the get request : 'https://graph.microsoft.com/v1.0/me/memberOf', that work fine.
I got the same error with : 'https://graph.microsoft.com/v1.0/me/joinedTeams'
I use an application with "group.ReadWrite.all" and "user.Read.all" rights and the connexion uses a bearer token.
It's not my environment so I can't give the permissions for graph Api Explorer, I m not admin. So with the graph Api Explorer i get a 403, forbidden request.
If anyone can help.
Thanks
ANSWER : The problem is the F1 license that work with Graph API but with some restrictions. You should use E3 to E5 license, there give full right on Graph API.
microsoft-graph azure-ad-graph-api microsoft-teams
|
show 1 more comment
I want to use Teams graph api to retrieve all channels of a team (group).
I use a 'Get' request on 'https://graph.microsoft.com/v1.0/teams/GroupId/channels'
The response is 'Access Denied', 'User login. Teams is disabled for your tenant.'
Other informations:
I don't have any issue when I use Teams app (web or desktop), the user is the owner of the team (group).
The user is under Office 365 F1 license with teams activated.
He possess the 'security administrator' role.
I retrieve the teams by the get request : 'https://graph.microsoft.com/v1.0/me/memberOf', that work fine.
I got the same error with : 'https://graph.microsoft.com/v1.0/me/joinedTeams'
I use an application with "group.ReadWrite.all" and "user.Read.all" rights and the connexion uses a bearer token.
It's not my environment so I can't give the permissions for graph Api Explorer, I m not admin. So with the graph Api Explorer i get a 403, forbidden request.
If anyone can help.
Thanks
ANSWER : The problem is the F1 license that work with Graph API but with some restrictions. You should use E3 to E5 license, there give full right on Graph API.
microsoft-graph azure-ad-graph-api microsoft-teams
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33
|
show 1 more comment
I want to use Teams graph api to retrieve all channels of a team (group).
I use a 'Get' request on 'https://graph.microsoft.com/v1.0/teams/GroupId/channels'
The response is 'Access Denied', 'User login. Teams is disabled for your tenant.'
Other informations:
I don't have any issue when I use Teams app (web or desktop), the user is the owner of the team (group).
The user is under Office 365 F1 license with teams activated.
He possess the 'security administrator' role.
I retrieve the teams by the get request : 'https://graph.microsoft.com/v1.0/me/memberOf', that work fine.
I got the same error with : 'https://graph.microsoft.com/v1.0/me/joinedTeams'
I use an application with "group.ReadWrite.all" and "user.Read.all" rights and the connexion uses a bearer token.
It's not my environment so I can't give the permissions for graph Api Explorer, I m not admin. So with the graph Api Explorer i get a 403, forbidden request.
If anyone can help.
Thanks
ANSWER : The problem is the F1 license that work with Graph API but with some restrictions. You should use E3 to E5 license, there give full right on Graph API.
microsoft-graph azure-ad-graph-api microsoft-teams
I want to use Teams graph api to retrieve all channels of a team (group).
I use a 'Get' request on 'https://graph.microsoft.com/v1.0/teams/GroupId/channels'
The response is 'Access Denied', 'User login. Teams is disabled for your tenant.'
Other informations:
I don't have any issue when I use Teams app (web or desktop), the user is the owner of the team (group).
The user is under Office 365 F1 license with teams activated.
He possess the 'security administrator' role.
I retrieve the teams by the get request : 'https://graph.microsoft.com/v1.0/me/memberOf', that work fine.
I got the same error with : 'https://graph.microsoft.com/v1.0/me/joinedTeams'
I use an application with "group.ReadWrite.all" and "user.Read.all" rights and the connexion uses a bearer token.
It's not my environment so I can't give the permissions for graph Api Explorer, I m not admin. So with the graph Api Explorer i get a 403, forbidden request.
If anyone can help.
Thanks
ANSWER : The problem is the F1 license that work with Graph API but with some restrictions. You should use E3 to E5 license, there give full right on Graph API.
microsoft-graph azure-ad-graph-api microsoft-teams
microsoft-graph azure-ad-graph-api microsoft-teams
edited Apr 9 at 8:43
Harold Jabraud
asked Mar 26 at 9:42
Harold JabraudHarold Jabraud
113 bronze badges
113 bronze badges
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33
|
show 1 more comment
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33
|
show 1 more comment
2 Answers
2
active
oldest
votes
On my side, both of them work well with the O365 user license.
GET 'https://graph.microsoft.com/v1.0/teams/teamId/channels
GET https://graph.microsoft.com/v1.0/me/joinedTeams
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
add a comment |
WARNING !
When you use graph API (Teams particulary) the user should have E3 to E5 license.
The F1 license work too but with some restrictions.
I will add the restrictions later in my post.
Thanks for everyone help.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353939%2fhow-to-fix-user-login-teams-is-disabled-for-your-tenant-error-in-graph-api-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
On my side, both of them work well with the O365 user license.
GET 'https://graph.microsoft.com/v1.0/teams/teamId/channels
GET https://graph.microsoft.com/v1.0/me/joinedTeams
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
add a comment |
On my side, both of them work well with the O365 user license.
GET 'https://graph.microsoft.com/v1.0/teams/teamId/channels
GET https://graph.microsoft.com/v1.0/me/joinedTeams
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
add a comment |
On my side, both of them work well with the O365 user license.
GET 'https://graph.microsoft.com/v1.0/teams/teamId/channels
GET https://graph.microsoft.com/v1.0/me/joinedTeams
On my side, both of them work well with the O365 user license.
GET 'https://graph.microsoft.com/v1.0/teams/teamId/channels
GET https://graph.microsoft.com/v1.0/me/joinedTeams
answered Mar 26 at 9:59
SunnySunSunnySun
1,5881 gold badge2 silver badges8 bronze badges
1,5881 gold badge2 silver badges8 bronze badges
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
add a comment |
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Yes, when I use my tenant (Microsoft demo tenant) with an similar user except the license office 365 E3 that works fine. But my problems occurs on a tenant I m not administrator (client) so I can't give the permission for the graph api explorer… I use an application with some rights: Group.ReadWrite.All (for our case) and a connexion by bearer token
– Harold Jabraud
Mar 26 at 14:49
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
Microsoft Teams is available in Office 365 Business Essentials, Office 365 Business Premium, Office 365 Enterprise (E1, E3, E5, F1), and the Office 365 Education plans. For the details, you could read here.
– SunnySun
Mar 27 at 5:45
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
What flow you used to get the bearer token?
– SunnySun
Mar 27 at 5:46
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
I use this: login.microsoftonline.comTenantId/oauth2/token with arguments: client id (the app id), client secret (the app secret), grantype : password, user login and user password
– Harold Jabraud
Mar 28 at 12:12
add a comment |
WARNING !
When you use graph API (Teams particulary) the user should have E3 to E5 license.
The F1 license work too but with some restrictions.
I will add the restrictions later in my post.
Thanks for everyone help.
add a comment |
WARNING !
When you use graph API (Teams particulary) the user should have E3 to E5 license.
The F1 license work too but with some restrictions.
I will add the restrictions later in my post.
Thanks for everyone help.
add a comment |
WARNING !
When you use graph API (Teams particulary) the user should have E3 to E5 license.
The F1 license work too but with some restrictions.
I will add the restrictions later in my post.
Thanks for everyone help.
WARNING !
When you use graph API (Teams particulary) the user should have E3 to E5 license.
The F1 license work too but with some restrictions.
I will add the restrictions later in my post.
Thanks for everyone help.
answered Apr 9 at 8:41
Harold JabraudHarold Jabraud
113 bronze badges
113 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353939%2fhow-to-fix-user-login-teams-is-disabled-for-your-tenant-error-in-graph-api-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Could you please check if your token has required permission using jwt.io/#debugger-io?
– Wajeed - MSFT
Mar 28 at 12:44
Group.ReadWrite.All requires tenant administrator permissions. Security administrator permissions are not sufficient. @Wajeed-MSFT's suggestion is a good one - verify that the token actually has Group.ReadWrite.All and User.Read.All permissions.
– Bill Bliss - MSFT
Apr 2 at 1:10
@Wajeed Group.ReadWrite.All is in the token, you can see it below : "scp": "Directory.AccessAsUser.All Directory.ReadWrite.All Group.ReadWrite.All Member.Read.Hidden User.Read.All User.ReadBasic.All", "sub": "VCBCT_Lht8I5eXB5tFCZ5hFmNQuRxNhAZLnbp_KnMk8", "tid": "47abbbbc-b105-437d-9a5f-1d3953dc944f", …
– Harold Jabraud
Apr 2 at 12:57
@BillBliss-MSFT, I understand what you are saying but on a Microsoft demo tenant i can use my code without problem using an user with just security administrator permission… I don't think the problem is in my code or the user configuration (except maybe the F1 license, but SunnySun said it wasn't the problem) I m pretty sure it s a tenant configuration but i don't know how to activate teams on the tenant, I read it wa not necessary anymore...
– Harold Jabraud
Apr 2 at 13:01
Could you please provide User License details to Microsoft Teams developer support email alias?
– Wajeed - MSFT
Apr 9 at 4:33