Open
Description
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
The issue was found for the following scenario:
Please add an 'x' for the scenario(s) where you found an issue
- Web app that signs in users
- with a work and school account in your organization: 1-WebApp-OIDC/1-1-MyOrg
- with any work and school account: /1-WebApp-OIDC/1-2-AnyOrg
- with any work or school account or Microsoft personal account: 1-WebApp-OIDC/1-3-AnyOrgOrPersonal
- with users in National or sovereign clouds 1-WebApp-OIDC/1-4-Sovereign
- with B2C users 1-WebApp-OIDC/1-5-B2C
- Web app that calls Microsoft Graph
- Calling graph with the Microsoft Graph SDK: 2-WebApp-graph-user/2-1-Call-MSGraph
- With specific token caches: 2-WebApp-graph-user/2-2-TokenCache
- Calling Microsoft Graph in national clouds: 2-WebApp-graph-user/2-4-Sovereign-Call-MSGraph
- Web app calling several APIs 3-WebApp-multi-APIs
- Web app calling your own Web API
- with a work and school account in your organization: 4-WebApp-your-API/4-1-MyOrg
- with B2C users: 4-WebApp-your-API/4-2-B2C
- with any work and school account: 4-WebApp-your-API/4-3-AnyOrg
- Web app restricting users
- by Roles: 5-WebApp-AuthZ/5-1-Roles
- by Groups: 5-WebApp-AuthZ/5-2-Groups
- Deployment to Azure
- Other (please describe)
Repro-ing the issue
Repro steps
When I try Create database and tables
"ConnectionStrings": { "TokenCacheDbConnStr": "Data Source=(LocalDb)\\MSSQLLocalDB;Database=MY_TOKEN_CACHE_DATABASE;Trusted_Connection=True;" },
Expected behavior
Give me some friendly prompt or Prompt to use administrator privileges in readme
Actual behavior
I got some errors, don't know what happened
An error occurred. Cannot open database "MY_TOKEN_CACHE_DATABASE" requested by the login. The login failed.
Login failed for user 'SGALWORK\sgalw'.
Possible Solution
Finally, the command line with administrator privileges was successfully created
OS and Version?
Windows 11
Versions
of ASP.NET Core, of MSAL.NET