Hi @Skylar Scaling ,
You can use Graph API to create the application and then use Get Application and Update Application. You can specify the type (web, spa, etc) and add the redirectUri(s).
"web": {
"redirectUris": [],
"homePageUrl": null,
"logoutUrl": null,
"implicitGrantSettings": {
"enableIdTokenIssuance": false,
"enableAccessTokenIssuance": false
}
`
Full example here >
You can also make a PATCH request to add the Redirect URIs and specify their types as described here.
Sources:
https://stackoverflow.com/questions/58685870/how-to-specify-replyurlswithtype-programmatically
https://learn.microsoft.com/en-us/graph/api/resources/webapplication?view=graph-rest-1.0
https://learn.microsoft.com/en-us/graph/use-the-api
https://stackoverflow.com/questions/31684821/how-to-add-application-to-azure-ad-programmatically
-
If this answer was helpful to you, please remember to "mark as answer" so that others in the community with similar questions can more easily find a solution.