
RobJ.66541 (Customer) asked a question.
Hi Everyone
I have done this previously, with no issues in the past, however ive been trying to add MS 365 as an application for the past few days, and keep getting a failed message when trying to Auto federate.
Please review the form to correct the following error(s):
- Could not setup the domain federation with Office 365; please retry setting up the federation for this domain after a few hours.
Logs say the following:
Unable to setup the domain federation, received error: Received response with HTTP status code 400. httpStatusCode=400 errorCode=Request_BadRequest errorMessage="Invalid value specified for property 'issuerUri' of resource 'InternalDomainFederation'." client-request-id=dbdd5617-b6a2-4fcc-8f75-3ca438c7d5d7 request-id=93c77387-dcb3-47b7-9df4-683c1947e75a timestamp='Fri, 01 Nov 2024 13:07:15 GMT' method=POST url=https://graph.microsoft.com/v1.0/domains/<My Domain>/federationConfiguration
However - i just cant seem to get past this - any one get any helpful ideas?

Hi @RobJ.66541 (Customer) , Thank you for reaching out to the Okta Community!
It could be related to the requirements for Microsoft Graph.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
@RobJ.66541 (Customer) - Does your domain start with a number?
No - the domain starts with a "J"
If i set this up manually - it works fine - it just wont work if i set it to Auto.
We ran into the same problem, our domain starts with a number and Okta Support confirmed it's a bug on their side with numbers in the domain (so may be just Auto sets in general).
However we maybe found a potential workaround via the manual setup that kind-of works (just unconfirmed at this point) but:
This worked for us.