Unattended graph client in MAUI iOS

-- -- 922 Reputation points
2024-08-20T14:52:52.71+00:00

Hi

How can we get an unattended MS Graph client in MAUI ios app?

Thanks

Regards

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,825 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,405 questions
{count} votes

1 answer

Sort by: Most helpful
  1. youzeliang 405 Reputation points
    2024-08-20T15:45:36.9466667+00:00
    1. Go to the Azure Portal and navigate to Azure Active Directory.
    2. Select App registrations > New registration.
    3. Fill in the required details (e.g., app name, supported account types).
    4. After registering, go to Certificates & secrets to generate a new client secret. Store this secret securely.
    5. In API permissions, add the required Microsoft Graph permissions (e.g., User.Read.All, Mail.Send). Choose Application permissions for unattended access.
    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.