Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pre authorized applications in an Azure AD app registration #263

Closed
TechWatching opened this issue Jun 1, 2020 · 2 comments · Fixed by #472
Closed

Add support for pre authorized applications in an Azure AD app registration #263

TechWatching opened this issue Jun 1, 2020 · 2 comments · Fixed by #472

Comments

@TechWatching
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add support for pre authorized applications in an Azure AD app registration. Applications in Azure AD can expose an API with a scope and pre authorize some existing applications on that scope. This generates this kind of json in the application mantifest.

	"preAuthorizedApplications": [
		{
			"appId": "5e3ce6c0-2arf-4285-8s23b-75ee78787346",
			"permissionIds": [
				"434b0aae-77b3-481a-b78f-4dfds29b"
			]
		},
		{
			"appId": "1fec8e78-bce4-4aaf-dsq12b-5451cc387264",
			"permissionIds": [
				"434b0aae-77b3-481a-b78f-4dfds29b"
			]
		}

New or Affected Resource(s)

  • azuread_application
  • azuread_serviceprincipal
@daniel-chambers
Copy link

I'd like to comment that I think this should be a separate resource to azuread_application. In my case, I have two applications, a SPA and an API. The SPA app depends on the API as a required resource. But the API depends on the SPA as a pre-authorized application.
Having pre-authorized applications be a separate resource would break this cycle.

@github-actions
Copy link

github-actions bot commented Aug 2, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2021
@manicminer manicminer added this to the v2.0.0 milestone Nov 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants