Using Microsoft Graph APIs I'm able to create an AAD SAML SSO application (a non-gallery application) but I notice Identifier (Entity ID) value is not getting populated in the AAD portal on the Edit popup screen, and interestingly the value is showing outside (under the "Basic SAML Configuration") (screenshot added).
When I test this SAML configuration with my some Service provider tool, SSO fails and I had to come back to AAD portal and update this Entity ID value manually in the Edit screen, then SSO works. So I kind of notice it's because of the Entity ID is getting updated inconsistently.
Programmatically my code looks as below, Please help with any inputs if I'm missing something to get this Entity Id value updated consistently.
// Create Application Application app = new Application(); app.displayName = "TestName"; app.identifierUris = Arrays.asList("some uri"); app.web = new WebApplication(); app.web.redirectUris = Arrays.asList("https://testredirect.com"); Application registeredApp = graphServiceClient.applications() .buildRequest() .post(app); // Create Service principal ServicePrincipal sp = new ServicePrincipal(); sp.appId = registeredApp.appId; sp.preferredSingleSignOnMode = "saml"; sp.tags = Arrays.asList("WindowsAzureActiveDirectoryCustomSingleSignOnApplication", "WindowsAzureActiveDirectoryIntegratedApp"); ServicePrincipal createdServicePrincipal = graphServiceClient.servicePrincipals() .buildRequest() .post(sp);
Programmatically creating the AzureAD SAML SSO application (a non-gallery enterprise app) not getting updated by the Identifier (Entity ID) value
375 Views Asked by Ram At
0
There are 0 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-ACTIVE-DIRECTORY
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Microsoft Entra ID - How to delete a tenant?
- Azure AD guest account in web app authentication user claims data
- Handling errors in MSAL Redirect - reactjs login with microsoft sso
- Azure Cross Cloud Auth using AAD
- Get id token from the access token
- Microsoft Identity does not work in docker desktop
- how to get refresh token in msal-browser Azure AD B2C login?
- Local DX for service-to-service authentication based on Managed Identities in Azure
- How can I add an identity provider to an existing user in an AWS Cognito user pool using the OIDC protocol?
- Azure B2C MFA custom policy flow 'try another way'
- How can I protect an Java Spring boot API against Azure AD B2C if I only have an id_token?
- Is there any way to get a new Azure CLI token without logging out?
- Code a Delegated Permission in Azure Powershell
- Service Principals I create are not being created as mine
Related Questions in MICROSOFT-GRAPH-API
- Teams tab application returns SSO error in mobile Outlook
- Implementing Incremental consent when using both application and delegated permissions
- Issue uploading files in spring boot java to onedrive using API
- Validating Access Token in ASP.NET Core Web API project
- MS Graph API Error 504: Timeout when send large data (Java Sdk 5.80.0)
- Why does the API getTeamsTeamActivityDetail has missing data?
- .NET 8 DownstreamAPI not authenticating
- Inquiry Regarding Feasibility of Fetching User login hours(In numbers) Status from Teams for SPFx Integration
- MS Graph .net SDK cannot expand calendar event SingleValueExtendedProperties
- How to disable cached responses from node fetch? (Microsoft Bookings API)
- Build self service Microsoft Partner Center portal using Graph API ( web app )
- Adding skiptoken to query parameters for graph api v5 requests
- OneDrive download link to a direct link not working, auth requested
- Microsoft Teams, Graph API, send message to channel InsufficientPrivileges MessageWritesBlocked-Thread is not marked for import
- Microsoft graph api to get lists in a sharepoint site not listing all lists
Related Questions in AZURE-SPRING-BOOT
- STS Upgade - sh: func: command not found - azure
- SpringData - CosmosDB - FluxUsingWhen cannot be cast to class Slice - Pagination
- NextJs Static resources are not found (404), After Deploying in Azure Spring App service as a combined Jar
- Cannot deploy spring apps to Azure
- Difference between Azure App Service and Azure Spring Apps?
- azure-spring-apps-maven-plugin with environment variables
- How do I view logs in raw text in Azure Logs for Azure Spring Apps?
- Cannot find "remote debug" Setting for a Spring Boot App in Azure
- Spring Boot Apps in Azure. Cannot View Logs of running App
- No Deployments Created when Creating a Spring Boot App
- SSLHandshake Error When Accessing KeyVault Using Private Endpoint
- Unable to Deploy Spring Boot App in Azure
- Azure Spring Apps: deployment does not support the API version '2022-09-01-preview'
- Blue Green Deployment in Azure spring apps
- Control Azure Service Bus Message Listener to start or stop listening from the Topic or queue in spring boot
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?