diff --git a/src/Form/SlackInviteSettingsForm.php b/src/Form/SlackInviteSettingsForm.php
index e58df87..9f1f2f1 100644
--- a/src/Form/SlackInviteSettingsForm.php
+++ b/src/Form/SlackInviteSettingsForm.php
@@ -86,6 +86,13 @@ class SlackInviteSettingsForm extends ConfigFormBase {
       if ($response_data->ok !== TRUE) {
         throw new Exception('Failed request');
       }
+      // Ensure the correct scope is set.
+      if (isset($response->headers['x-oauth-scopes'][0])) {
+        $scopes = explode(',', $response->headers['x-oauth-scopes'][0]);
+        if (!in_array('admin', $scopes)) {
+          $form_state->setErrorByName('slack_invite_token', $this->t('The supplied token is missing the required scope: admin'));
+        }
+      }
     }
     catch (Exception $e) {
       $form_state->setErrorByName('slack_invite_token', $this->t('Please check the token and hostname; unable to test request'));
