diff --git a/pom.xml b/pom.xml
index cbd5dda..16b6a47 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
net.tirasa.connid.bundles
net.tirasa.connid.bundles.azure
- 2.0.3-SNAPSHOT
+ 3.0.0-SNAPSHOT
ConnId Bundles: Azure
@@ -78,7 +78,7 @@
1.5.2.0
- 5.51.0
+ 6.19.0
1.14.1
1.17.2
@@ -98,12 +98,12 @@
azure-identity
${azure.identity.version}
-
com.microsoft.azure
msal4j
${azure.msal4j.version}
+
net.tirasa.connid
connector-framework
diff --git a/src/main/java/net/tirasa/connid/bundles/azure/AzureConnector.java b/src/main/java/net/tirasa/connid/bundles/azure/AzureConnector.java
index fd2e5e6..38d5bb8 100644
--- a/src/main/java/net/tirasa/connid/bundles/azure/AzureConnector.java
+++ b/src/main/java/net/tirasa/connid/bundles/azure/AzureConnector.java
@@ -16,25 +16,21 @@
package net.tirasa.connid.bundles.azure;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.microsoft.graph.http.BaseCollectionRequestBuilder;
import com.microsoft.graph.models.AssignedLicense;
import com.microsoft.graph.models.AssignedPlan;
import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.graph.models.Group;
-import com.microsoft.graph.models.PasswordProfile;
+import com.microsoft.graph.models.GroupCollectionResponse;
import com.microsoft.graph.models.ProvisionedPlan;
import com.microsoft.graph.models.SubscribedSku;
import com.microsoft.graph.models.User;
-import com.microsoft.graph.models.UserAssignLicenseParameterSet;
-import com.microsoft.graph.requests.GroupCollectionPage;
-import com.microsoft.graph.requests.GroupCollectionRequestBuilder;
-import com.microsoft.graph.requests.UserCollectionPage;
-import com.microsoft.graph.requests.UserCollectionRequestBuilder;
+import com.microsoft.graph.models.UserCollectionResponse;
+import com.microsoft.graph.users.item.assignlicense.AssignLicensePostRequestBody;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Collections;
import java.util.HashSet;
-import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.UUID;
@@ -81,10 +77,174 @@
public class AzureConnector implements
Connector, CreateOp, DeleteOp, SchemaOp, SearchOp, TestOp, UpdateOp {
- public static final String SKIP_TOKEN_ID = "$skiptoken=";
-
private static final Log LOG = Log.getLog(AzureConnector.class);
+ @SuppressWarnings("unchecked")
+ private static void doUserSetAttribute(final String name, final List