A .NET Core daemon console application calling Microsoft Graph or your own WebAPI with its own identity