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
372 Views Asked by Ram At
0
There are 0 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in AZURE-ACTIVE-DIRECTORY
- MultipleTokensMatched exception when using default TokenCache
- How can I share Azure Active Directory authentication between server side and client script?
- Azure AD Change Password with patch call
- Azure Active Directory Login: Web App Permissions, User Consent not triggered
- ADALJS Error description:AADSTS65001: No permission to access user information is configured for 'clientId' application, or it is expired or revoked
- app is re-initializing the first time ADAL "protected" URL is accessed via $http
- Validate access token for WEB API protected by Azure AD
- Azure AD Graph API: Is it possible to enumerate all groups associated with an application role?
- Is is possible to use Azure AD as a SAML compliant Identity Provider?
- Microsoft Graph API Accessing basic info of a user that is outside tenancy
- RoundCube OAuth with Azure Active Directory
- Deploy Azure AD WebAPI to IIS, with Windows Authentication enabled, skips Azure AD Authentication
- How to change Is Multiple Resource Refresh Token to true in Azure AD authentication?
- Azure, login to separate accounts with one email
- How to setup nginx to authenticate users through Azure AD?
Related Questions in MICROSOFT-GRAPH-API
- MicrosoftGraph user impersonation for accessing mail messages
- IdentityServer3 Microsoft Graph scopes and flow
- How should I determine if an MSAL account has an Exchange based email system? (got an exception)
- Get shared calendar from different user(meeting room)
- odata.maxpagesize header not working in Microsoft Graph API?
- Opening OneDrive file in desktop Word
- Microsoft Graph API content 401 Unauthorized
- Getting multiple users/groups by objectids
- Microsoft Graph SDK C#: Use FileSavePicker with Onedrive
- How to use ConfidentialClientApplication to perform AppOnly requests to Graph (Group.ReadWrite.All)
- OneNote update page
- Microsoft Graph GetPhoto not working in Microsoft Teams bot
- Paging in MS Graph API
- Microsoft Graph API multi-tenant token lifetime
- Access user.MemberOf with Microsoft Graph Client Library
Related Questions in AZURE-SPRING-BOOT
- Unable to deploy my first Azure Spring Cloud application
- Difference between Azure App Service and Azure Spring Apps?
- How i can read any file from resources folder in java spring-boot AZURE function?
- Unable to write to Azure Service Bus Topic from Spring Boot Application using azure-servicebus-jms-spring-boot-starter
- Spring Security for Spring cloud stream with RabbitMQ as binder
- 112404: Exit code 1 error while deploying Spring App to Azure
- How do I view my app logs in Azure spring boot apps?
- Auto assigned nodeId for azure spring app or how to get app instance name
- Unable to fetch key vault values through azure app config in spring boot app
- Spring boot 2.2.4 release is not compatible with azure spring data cosmos 3.x.x
- Adding a custom OidcUserService to work with Spring Azure AAD OidcUserService
- Programmatically creating the AzureAD SAML SSO application (a non-gallery enterprise app) not getting updated by the Identifier (Entity ID) value
- How do I configure a single page Google and Azure OAuth2 login in Spring Boot and Spring Security?
- Setup Azure Client Credential Flow with Spring
- SSLHandshake Error When Accessing KeyVault Using Private Endpoint
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 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?