How to create and assign app groups

Hello,

I'm trying to automate the creation of app groups for a given bundle id. I've checked the documentation but there are no information regarding what to do to create a new app group identifier and how to connect it to a bundle identifier.


I can only enable the APP_GROUPS capability (https://developer.apple.com/documentation/appstoreconnectapi/enable_a_capability) but then there doesn't seem to be a way to assign an app group to a bundle id.


The modify capability endpoint (https://developer.apple.com/documentation/appstoreconnectapi/modify_a_capability_configuration) seem promising but there's no documentation regarding the format of the request, and after trying to list the information for a bundle identifier (https://developer.apple.com/documentation/appstoreconnectapi/list_all_capabilities_for_a_bundle_id) with a manually set up bundle identifier with an app group in the developer portal, the API doesn't even return the app groups for a bundle identifier with the APP_GROUPS enabled.


Is there really no way of doing this?

Post not yet marked as solved Up vote post of Balestra Down vote post of Balestra
12k views

Replies

Hi, i also was confused trying to find out how to create "app group", that is the strange, but after hours of seraching i wound that you can create in "Identifiers->app groups" click on plus icon, the same place where you create "app id" a little lower there is an option for creating "app group" and "icloud containers"

Did anyone manage to figure this out?

Identifiers -> click on plus icon(register a new identifier). in the new window select App Groups and click Continue

  • Unfortunately this is resulting in an "identifier is unavailable" warning/alert when I try to create new app group ids.

Add a Comment

The replies above are not answering what OP is actually asking. He wants to automate the App Groups creation process by using the App Store Connect API, not do it manually. I also face the same issue. I don't think it's possible to do this with the App Store Connect API, despite it being released for years now. It's missing other key features as well.

Apple doesn't seem to care about their API very much.

I am also facing the same issue, is there anyone who finds any potential solution for create app automatic via app store connect API? Thanks! in advance

Trying to achieve the same thing... this is very frustrating, this seems like a half baked API...