<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forced to make all users Team Admins?   &amp;quot;You must be a team administrator to authorize this in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486633#M24445</link>
    <description>&lt;P&gt;Hello Greg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Worked!&amp;nbsp; &amp;nbsp;The .NET SDK DBX App has Teams rights but I only request individual rights in the authorization URL scope directive:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=MY_CLIENT_ID&amp;amp;redirect_uri=MY_REDIRECT_URI&amp;amp;response_type=code&amp;amp;" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?client_id=MY_CLIENT_ID&amp;amp;redirect_uri=MY_REDIRECT_URI&amp;amp;response_type=code&amp;amp;&lt;/A&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;scope=&lt;FONT color="#0000FF"&gt;account_info.write account_info.read files.metadata.write files.metadata.read files.content.write files.content.read&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That allows a non-Team Admin to approve the app.&amp;nbsp; &amp;nbsp;When I need to actually use a Team feature (team_info.read team_data.member team_data.team_space files.team_metadata.write members.read groups.read) I create a teamClient.AsMember and everything seems to be fine.&amp;nbsp; &amp;nbsp;I tested it out to create a subfolder within a Team directory and no problem!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 21:45:05 GMT</pubDate>
    <dc:creator>Tech Dev Oldsmar</dc:creator>
    <dc:date>2021-01-12T21:45:05Z</dc:date>
    <item>
      <title>Forced to make all users Team Admins?   "You must be a team administrator to authorize this app"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486473#M24439</link>
      <description>&lt;P&gt;Good morning:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transitioning to &lt;STRONG&gt;short-lived token&lt;/STRONG&gt; with a snag.&amp;nbsp; The&lt;STRONG&gt; "no expiration" token&lt;/STRONG&gt; currently used in the 10-person dev environment is working perfect to upload/download/save, etc.... files/folders in a shared teams environment.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Got oauth2 working for me and my other user with &lt;EM&gt;&lt;STRONG&gt;Team Administrator&lt;/STRONG&gt;&lt;/EM&gt; access.&amp;nbsp; The app must obviously have scoped access to the shared folders:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Scroped-DBX-API-settings.jpg" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/20326i3C0576608A9C41EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Scroped-DBX-API-settings.jpg" alt="Scroped-DBX-API-settings.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;I bought another business license to create a test user &lt;U&gt;&lt;STRONG&gt;without&lt;/STRONG&gt; &lt;/U&gt;teams admin access and (like my other 8 users).&amp;nbsp; Without admin access, I cannot register the app.&amp;nbsp; I get this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="error-connecting-app-need-team-admin-access.jpg" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/20327i46F5E544DA6F689E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error-connecting-app-need-team-admin-access.jpg" alt="error-connecting-app-need-team-admin-access.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I use the DBX API for an intranet and manage access through Azure AD so I have precise control of how folders are created, files saved, etc....&amp;nbsp; &amp;nbsp;I'd like the API available to regular business DBX users without making them Team Administrators.&amp;nbsp; &amp;nbsp;I'm skirting this right now in production with the non-expiring token but those days are numbered.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&amp;nbsp; &amp;nbsp;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 19:04:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486473#M24439</guid>
      <dc:creator>Tech Dev Oldsmar</dc:creator>
      <dc:date>2021-01-13T19:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to make all users Team Admins?   "You must be a team administrator to authorize this</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486515#M24443</link>
      <description>&lt;P&gt;This error is about which scopes are being requested. For reference, scoped apps can use two main kinds of scopes: "Individual" and "Team".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Individual scopes enable access to functionality for an individual account, such as uploading and downloading files, creating folders, etc. They can be authorized by any kind of&amp;nbsp;Dropbox account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Team scopes enable access to functionality for entire Business teams, such as managing members, etc. They can only be authorized by team admins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error here is indicating that the app is requesting team scopes, but the user is not an admin and so cannot authorize that. If you want to allow non-admins to connect the app, you'll need to request only individual scopes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your app never needs to use team scopes, you can configure this by disabling the team scopes entirely from the app's Permissions settings (which are shown in your screenshot).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, if your app does sometimes need to use team scopes, you can instead specify which scopes to request from a user on the fly by setting a particular set of scopes when constructing the authorization URL. That is, you can list the scopes to request in the 'scope' parameter on &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;the&amp;nbsp;/oauth2/authorize URL&lt;/A&gt;. (If you're using an SDK to process the flow, refer to the relevant SDK documentation for information on how to configure that.)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 16:01:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486515#M24443</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-12T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to make all users Team Admins?   "You must be a team administrator to authorize this</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486633#M24445</link>
      <description>&lt;P&gt;Hello Greg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Worked!&amp;nbsp; &amp;nbsp;The .NET SDK DBX App has Teams rights but I only request individual rights in the authorization URL scope directive:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=MY_CLIENT_ID&amp;amp;redirect_uri=MY_REDIRECT_URI&amp;amp;response_type=code&amp;amp;" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?client_id=MY_CLIENT_ID&amp;amp;redirect_uri=MY_REDIRECT_URI&amp;amp;response_type=code&amp;amp;&lt;/A&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;scope=&lt;FONT color="#0000FF"&gt;account_info.write account_info.read files.metadata.write files.metadata.read files.content.write files.content.read&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That allows a non-Team Admin to approve the app.&amp;nbsp; &amp;nbsp;When I need to actually use a Team feature (team_info.read team_data.member team_data.team_space files.team_metadata.write members.read groups.read) I create a teamClient.AsMember and everything seems to be fine.&amp;nbsp; &amp;nbsp;I tested it out to create a subfolder within a Team directory and no problem!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 21:45:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/486633#M24445</guid>
      <dc:creator>Tech Dev Oldsmar</dc:creator>
      <dc:date>2021-01-12T21:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forced to make all users Team Admins?   "You must be a team administrator to authorize this</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/670292#M30301</link>
      <description>&lt;P&gt;This was really helpful - thank you for sharing the fix.&amp;nbsp; Didn't run into this until deployment with non-admins.&amp;nbsp; For anyone in the odd position of needing this for a Windows Forms application here is how I built the authorizeURI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;  // set the desired scopes
            var scopesList = new List&amp;lt;string&amp;gt;
            {
                "account_info.write",
                "account_info.read",
                "files.metadata.read",
                "files.metadata.write",
                "files.content.read",
                "files.content.write"
            };

            string[] scopes = scopesList.ToArray();
            var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Code, 
                Properties.Settings.Default.appKey, 
                (string)null,
                tokenAccessType: TokenAccessType.Offline
                ,scopeList: scopes
                );
            Process.Start(authorizeUri.ToString());&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Mar 2023 15:49:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Forced-to-make-all-users-Team-Admins-quot-You-must-be-a-team/m-p/670292#M30301</guid>
      <dc:creator>Tech Dev Oldsmar</dc:creator>
      <dc:date>2023-03-22T15:49:15Z</dc:date>
    </item>
  </channel>
</rss>

