Its EuropeWho – Teams, Skype for Business, and other things.

cannot remove another tenants guest account from teams client

Weird-ness, I have a Windows Teams Client that previously had added another Teams account, from another tenant. This was released recently, that a work user could add another work account from another tenant to their desktop client (or more than one).

Of course, the ability to add a “personal” account (like live.com) and one other work / school account, has been around since February 2021 – https://www.microsoft.com/en-ww/microsoft-365/roadmap?filters=&searchterms=68845.

So, now the client shows two accounts on the menu dropdown in Teams.

in austria on a skiing holiday, what’s up with the banks?

Ok, not really any of the subjects I’d speak about, but hey!

I live in Germany usually, but with the family in Tyrol in Austria. And I don’t ski… so I’m the ‘designated’ driver sorta situation.

It’s a mountain!

I have a bank account with Sparkasse in Germany. I can go into a store or any place that takes an EC card (it’s a debit card for the bank account) and use it without charge. And that’s in Germany and Austria.

A panoramic shot.

But if I go to a cash machine in Austria and try to get money out, I get charged! And I get charged from a Sparkasse cash machine (well the Austrian flavour).

create new teams from existing sharepoint online sites using powershell

Well, ok there is a really simple solution to this issue. The issue is that you have an existing SPO site BUT no Teams team associated (or created for it). The SPO site has to be a team site and it has to be a “modern” team site NOT a “modern” communication site. Have a look here for an explanation.

You can use the guide that Microsoft provides here – Create a Microsoft Team from SharePoint. That’s way to easy! How about adding it though using the gift of PowerShell?

some microsoft teams apis cost money on graph

Ok, just looking through the latest work that I’ve been doing, and found NOTHING…

BUT a colleague of mine asked a question:

How do customers get charged for using MS Graph APIs with MS Teams?

Well, that’s a great question. Because some features within the MS Graph API cost money. The MS Graph API is here, so you can have a play for free.

MS Graph is an API, which allows those with the developer “power” to access data from the API that gives them various bits of information from their tenant.

sharepoint spfx app not working in teams clients

I had a customer with an issue when they started to introduce SharePoint Framework (SPFX) into their Teams environment. But only for the clients for Teams that were not the web client.

When the Teams client attempts to connect to the SharePoint environment, there is an error coming back from this URL:

https://xxxx.sharepoint.com/_api/Microsoft.SharePoint.Internal.ClientSideComponent.Token.AcquireOBOToken

The error is a HTTP 401, and the body has XML that looks like this:

{
"odata.error": {
"code": "-1, Microsoft.SharePoint.Client.ClientServiceException",
"message": {
"lang": "en-GB",
"value": "Exception of type 'Microsoft.SharePoint.Client.ClientServiceException' was thrown."
}
}
}

about getting on that horse

Yes, it’s a life story about me. Well, not a life story, just a little snippet.

So, about 8 years ago, I was in Seattle… On a business trip. And as you know business trips involve going to a baseball game. It was fantastic and the photos of it were amazing.

I went back to the hotel, and on my way back I must have fell over.

azure dr verses teams dr

A very good colleague of mine let me know about an issue that he had fixed. It was about direct routing in Teams.

The Teams environment couldn’t receive inbound calls using Teams DR via an SBC. Outbound calls were AOK.

They had configured an Azure DR at the same time BUT they had set the SBC FDQN the same as their own on-premises DRs.

Apparently, this cannot be.

object orientated programming (OOP)

Well… yes. This might take longer than I have really. And you don’t really want to read a ten volume encyclopedia?

What is it? I thought I knew. In the halcion days of my development career, I used this programming model, without even knowing it.

Ok, well it’s a way of organising and designing software around data (objects), as opposed to just creating the functions and the procedures to do the work.

It does involve creating classes, objects, attributes, and methods. These we can see as sort of building blocks of OOP.

BUT the focus of this “brain fart”, is to state the main principles around OOP.

it’s hard getting back on the horse

Yeah, that’s the coding horse of course.

I’ve only spent 4 or 5 months out of real coding, and I’ve forgotten most of it. Well to quantify that, most of the plumbing when using .NET.

Well ok, for example, I have a project that uses ASP.NET MVC and ER to create a website, that takes data presented to it and then forwards that information to Teams to present in an adaptive card.

My day job is supporting adaptive cards (and Teams); the issue is that we only support up to where the other person starts to write their own code. So I have a bit of a gap when it comes to using .NET (C# flavour) to build all the scaffolding to create the JSON to build an adaptive card.

I did code all of this lovely MVC c# stuff before, but since I am not that good at anything mental (explanation later) it sometimes takes time to get back into the grove.

I’ll keep updating this blog with specific things I had to do AND will try to remember by posting here 😁