question

cnk-6873 avatar image
0 Votes"
cnk-6873 asked MughundhanRaveendran-MSFT commented

Method not found : Azure.Messaging.ServiceBus

platform : In azure functions portal, .net core, 64bit

for a couple for months, calling SendMessageAsync and SendMessagesAsync work without fail. Today I was wondering why messages are not being sent to queue. I get this error

Method not found: 'System.Threading.Tasks.Task`1<Microsoft.Azure.Amqp.Framing.Outcome> Microsoft.Azure.Amqp.SendingAmqpLink.SendMessageAsync(Microsoft.Azure.Amqp.AmqpMessage, System.ArraySegment`1<Byte>, System.ArraySegment`1<Byte>, System.Threading.CancellationToken)'.

The same exact message using either method.

Were there any breaking changes that I should be aware of with Azure functions + service bus ? Sorry to be so vague, but I'm pulling my hair with this.

Same code works locally (console .net core program)

In another problem, my azure functions queue trigger no longer gets any queue messages

azure-functions
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Working with @cnk-6873 offline to troubleshoot this issue

0 Votes 0 ·

1 Answer

sadomovalex avatar image
0 Votes"
sadomovalex answered

some time ago we faced with similar looking error (Method not found: 'System.Threading.Tasks.Task`1<...>) but with different actual types: Method not found error in UnifiedGroupsUtility.ListUnifiedGroups() when use PnP.Framework 1.6.0 with newer version of Microsoft.Graph. In our case it was caused by dependency update - details are described in blog post. Not sure will it help in your case but may be also related with dependencies update.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.