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

Configure new Cosmos DB Database in App Center #270

Closed
Zakeelm opened this issue Apr 2, 2019 · 4 comments
Closed

Configure new Cosmos DB Database in App Center #270

Zakeelm opened this issue Apr 2, 2019 · 4 comments
Assignees
Labels
data Related to App Center's data service plan item A piece of work planned for an iteration.

Comments

@Zakeelm
Copy link
Contributor

Zakeelm commented Apr 2, 2019

Data MVP Technical Specification

This would enable developers to configure a new Cosmos DB database for use with the Data service. Users will be required to connect their app to an azure subscription and then enter a resource name, database location, and the desired throughput for pricing. Doing so will enable the developer to start using the Data service with their newly configured database.

Here are the latest iteration of the designs for this feature:

Screen Shot 2019-04-02 at 3 24 04 PM

Let us know if you have any feedback, or would like to be a part of our private preview!

@Zakeelm Zakeelm added plan item A piece of work planned for an iteration. data Related to App Center's data service labels Apr 2, 2019
@Zakeelm Zakeelm self-assigned this Apr 2, 2019
@sagostini
Copy link

Hello,

it looks like App Center is not able to keep the relation with the newly created CosmosDB.
Once it is visible as fully created on Azure, it doesn't show properly on App Center
image

and it returns an error when called from Xamarin.Forms:

Microsoft.AppCenter.Data.DataException: com.microsoft.appcenter.data.exception.DataException: Call to App Center Token Exchange Service succeeded but the resulting payload indicates a failed state: {"tokens":[{"partition":"user","dbAccount":null,"dbName":null,"dbCollectionName":null,"token":null,"expiresOn":null,"accountId":null,"status":"Unauthenticated"}]}

@Zakeelm
Copy link
Contributor Author

Zakeelm commented May 28, 2019

Interesting, can you confirm you have admin access to that app and the subscription used to provision the database?

@sagostini
Copy link

Hello, it looks like it depends on the fact that the AppCenter user is not able to see the CosmosDB. When I used the same user on both AppCenter and Azure, it worked fine

@Zakeelm
Copy link
Contributor Author

Zakeelm commented May 31, 2019

Awesome, glad this issue was resolved. Seems to be the same issue in our other thread. Going to close this! Feel free to open a new issue if you have feature requests, bugs, or general feedback!

@Zakeelm Zakeelm closed this as completed May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Related to App Center's data service plan item A piece of work planned for an iteration.
Projects
None yet
Development

No branches or pull requests

2 participants