microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Unable to run locally

Open
#378 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

Unable to run AudioVideoPlaybackBot locally because the cert has problem:

Sample.AudioVideoPlaybackBot.WorkerRole.ConfigurationException: 'Parameter name: DefaultCertificate
No certificate with thumbprint ABC0000000000000000000000000000000000CBA was found in the machine store.'

This exception was originally thrown at this call stack:
Sample.AudioVideoPlaybackBot.WorkerRole.AzureConfiguration.GetCertificateFromStore(string) in AzureConfiguration.cs
Sample.AudioVideoPlaybackBot.WorkerRole.AzureConfiguration.Initialize() in AzureConfiguration.cs
Sample.AudioVideoPlaybackBot.WorkerRole.AzureConfiguration.AzureConfiguration(Microsoft.Graph.Communications.Common.Telemetry.IGraphLogger) in AzureConfiguration.cs
Sample.AudioVideoPlaybackBot.WorkerRole.WorkerRole.OnStart() in WorkerRole.cs
Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleType)
Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.InitializeRole.AnonymousMethod__0()

Please help
Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AzureConfiguration.cs, especially GetCertificateFromStore(string) and Initialize(), then trace how WorkerRole.cs calls AzureConfiguration during OnStart(). Determine why the local machine store lacks the configured DefaultCertificate and verify that the AudioVideoPlaybackBot starts locally without the reported ConfigurationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.