diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/README.md b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/README.md
index a7cf5c2ffea90..68c9d446416f7 100644
--- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/README.md
+++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/README.md
@@ -24,33 +24,21 @@ We need to ensure that this [environment checklist][ready-to-run-checklist] is c
### Include the package
```xml
-
- org.springframework.boot
- spring-boot-starter-web
-
-
- org.springframework.boot
- spring-boot-starter-security
-
com.azure.spring
azure-spring-boot-starter-active-directory
- org.springframework.security
- spring-security-oauth2-resource-server
-
-
- org.springframework.security
- spring-security-oauth2-client
+ org.springframework.boot
+ spring-boot-starter-oauth2-client
- com.microsoft.azure
- msal4j
+ org.springframework.boot
+ spring-boot-starter-oauth2-resource-server
- org.springframework.security
- spring-security-oauth2-jose
+ org.springframework.boot
+ spring-boot-starter-web
```
diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/pom.xml b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/pom.xml
index a77477c7b64d1..cd83eb45bfe6c 100644
--- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/pom.xml
+++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-obo/pom.xml
@@ -15,35 +15,24 @@
Azure AD Spring Security Integration Spring Boot Resource Server OBO
-
- org.springframework.boot
- spring-boot-starter-web
-
-
- org.springframework.boot
- spring-boot-starter-security
-
com.azure.spring
azure-spring-boot-starter-active-directory
3.2.0-beta.1
+
+
- org.springframework.security
- spring-security-oauth2-resource-server
-
-
- org.springframework.security
- spring-security-oauth2-client
+ org.springframework.boot
+ spring-boot-starter-oauth2-client
- com.microsoft.azure
- msal4j
- 1.8.0
+ org.springframework.boot
+ spring-boot-starter-oauth2-resource-server
- org.springframework.security
- spring-security-oauth2-jose
+ org.springframework.boot
+ spring-boot-starter-web
diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/README.md b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/README.md
index d1313acf55ee2..8014a655adc4d 100644
--- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/README.md
+++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/README.md
@@ -24,12 +24,8 @@ We need to ensure that this [environment checklist][ready-to-run-checklist] is c
azure-spring-boot-starter-active-directory
- org.springframework.security
- spring-security-oauth2-resource-server
-
-
- org.springframework.security
- spring-security-oauth2-jose
+ org.springframework.boot
+ spring-boot-starter-resource-server
```
diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/pom.xml b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/pom.xml
index f95c7b1d0770e..c1c5595c1f8cd 100644
--- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/pom.xml
+++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/pom.xml
@@ -20,25 +20,15 @@
azure-spring-boot-starter-active-directory
3.2.0-beta.1
-
- org.springframework.security
- spring-security-oauth2-resource-server
-
-
- org.springframework.security
- spring-security-oauth2-jose
-
-
- org.springframework.boot
- spring-boot-starter-web
-
+
+
org.springframework.boot
- spring-boot-starter-thymeleaf
+ spring-boot-starter-oauth2-resource-server
org.springframework.boot
- spring-boot-starter-security
+ spring-boot-starter-web