Error in aem console bundle with microsoft graph and azure packages
I am getting following error in aem bundles
com.microsoft.aad.msal4j,version=[1.14,2) -- Cannot be resolved
com.microsoft.graph.models -- Cannot be resolved
I have added following instructions, however my issue is still not resolved
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
com.microsoft.aad.msal4j;version="[1.14,2)",
com.microsoft.graph.models</Import-Package>
<Export-Package>
com.microsoft.aad.msal4j
</Export-Package>
<Embed-Dependency>
msal4j
</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
Error log reveals
07.03.2024 22:38:29.068 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer TaskResource(url=jcrinstall:/apps/xxxx/xxxxx-ui.content-1.0.0-SNAPSHOT.zip, entity=content-package:com.fidelity.assets:aem-assets-development.ui.content, state=INSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:55:71:73:15:2091:, package-id=xxxxx.ui.content:1.0.0-SNAPSHOT, Bundle-Version=1.0.0.SNAPSHOT], digest=1709869108283): content package installed
07.03.2024 22:38:29.068 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundlexxx.core [642]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve xxx.core [642](R 642.15): missing requirement xxx.core [642](R 642.15)] osgi.wiring.package; (&(osgi.wiring.package=com.microsoft.aad.msal4j)(version>=1.14.0)(!(version>=2.0.0))) Unresolved requirements: [[xxx.core [642](R 642.15)] osgi.wiring.package; (&(osgi.wiring.package=com.microsoft.aad.msal4j)(version>=1.14.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
a[org.apache.sling.installer.core:3.12.0]
07.03.2024 22:38:29.080 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle xxx.core [642]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve xxx.core [642](R 642.15): missing requirement [xxx.core [642](R 642.15)] osgi.wiring.package; (&(osgi.wiring.package=com.microsoft.aad.msal4j)(version>=1.14.0)(!(version>=2.0.0))) Unresolved requirements: [[xxxxt.core [642](R 642.15)] osgi.wiring.package; (&(osgi.wiring.package=com.microsoft.aad.msal4j)(version>=1.14.0)(!(version>=2.0.0)))]
a

