-
Notifications
You must be signed in to change notification settings - Fork 35
Upgrading
Michael Johnson edited this page Apr 3, 2023
·
2 revisions
The following notes list any actions that need to be done when upgrading from an older version of the plugin.
- Version 2 and above of the plugin use the newer MS Graph API. You should go through the general plugin setup and make sure that the required permissions are granted.
-
Version 1.1 RC1 and below of the plugin use the same value for the external identity property. As of SonarQube 7.2, this value is required to be unique. After installing 1.1 RC2 or newer of the plugin, you will need to make a manual query to create a unique value.
PostgreSQL:
UPDATE users SET external_identity = md5(random()::text) WHERE external_identity_provider = 'aad';
Microsoft SQL Server (T-SQL):
UPDATE users SET external_identity = NEWID() WHERE external_identity_provider = 'aad';
MySQL:
UPDATE users SET external_identity = MD5(RAND()) WHERE external_identity_provider = 'aad';