9:42 p. m.
i created a user in the AD .
With this user I can connect in the AP and received the Token.
but I can access to the my calendar.
what is the problem? thanks
9:44 p. m.
I need to connect to my calendar with a windows service in .net c# . is possible? my account is pablo.martinez7908@gmail.com
9:48 p. m.
Microsoft identity platform scopes, permissions, and consent docs.microsoft.com Here's some documentation that may be able to help with confirming whether or not your application has the correct permissions set: https://aka.ms/d_VIhgan8D
Let us know if you're still having issues after following the steps listed in that documentation.
9:48 p. m.
the response of the request is this:
The client has requested access to a resource which is not listed in the requested permissions in the client's application registration
10:24 p. m.
I give all the permission, and accept the consent. but when i tried to connect with my user , the error is the same (copy in the other tweet I used this to get token https://login.microsoftonline.com{ {TenantID}}/oauth2/v2.0/token and is impossible to get it with my user (owner) why I cant get the token if I am the owner of the app?
10:28 p. m.
if I use the user I created in AD .. the token was generated.
but when I tried to connect to https://graph.microsoft.com/v1.0/me/calendars appears another error.
when I used postman with my user to get the token, the error is this:
AADSTS50034: The user account 59fcf3ac-b244-409f-bdef-c03d2391941e does not exist in the 25bc6bfa-6a6b-4d5d-bbe4-253998fcd6e2 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: c27dcac0-2b2b-4b45-b49e-846e5cd7ab00\r\nCorrelation ID: 5761f165-b349-4f73-81ba-d79c306d5fbf\r\nTimestamp: 2019-11-23 01:29:49Z", "error_codes": [ 50034 ], "timestamp": "2019-11-23 01:29:49Z", "trace_id": "c27dcac0-2b2b-4b45-b49e-846e5cd7ab00", "correlation_id": "5761f165-b349-4f73-81ba-d79c306d5fbf", "error_uri": "https://login.microsoftonline.com/error?code=50034"
im the owner of the application
10:31 p. m.
Can you provide us with your subscription ID?
10:38 p. m.
I don't have any subscription ID. I only have my account to login in Portal and the data of the applicattion created.
10:55 p. m.
he resources you have in Azure all belong to at least one subscription ID. If you login to the Azure Portal and search for subscription, it should show you what subscriptions you have. If you can provide the subscription ID that's associated with the resources in question, we can try to help.
10:56 p. m.
11:15 p. m.
why I need a subscriptions ? I only need to download my calendar events
11:22 p. m.
In that case, it might be best to involve our community experts. Could you pose your question here http://aka.ms/azadMSQA and send us the link? We'll escalate it internally and an expert should reply to you once they have a chance.