External Sharing in SharePoint and OneDrive is changing: What You Need to Know

In an ongoing effort to create a more secure environment by default, Microsoft is introducing an important security update that will affect how external users access content shared through SharePoint and OneDrive. Starting July 1, 2025, any links shared with external users before your organization enabled Microsoft Entra B2B integration will no longer work. This change applies to all organizations that have already enabled or will enable SharePoint and OneDrive integration with Microsoft Entra B2B (Most organizations I have looked into so far). External users trying to use old links will see an error message saying the organization has updated its guest access settings. To regain access, the content must be reshared. Highlights of how the change affects organizations who have enabled B2B: All external sharing will require guest registration. External users must be added as guests in your Microsoft Entra directory. Access will be managed through Microsoft Entra B2B Invitation Manager. T...

Updating the "Assigned numbers" Script

I was working with something quite different, when I came a cross a way to count the number of "hits" when using PowerShell. It was quite easy, and I have now updated the "assignednumbers.txt" to have the script not only show you which LineURI's you have in play, but also how many (so you don't have to count them your self).

In order to do this I had to create a function to do the counting for me.
I run a simple "foreach", calling upon the get-*** command looking for LineURIs. And for every hit, we increase the counter.


The foreach can of course be extended (and must be in order to complete my goal) with more advanced commands, as long as you write commands within ( ).


The example above was the only way I could get a reliable privateline output

I have also added a tiny "cleanup" section, so you always know your counters are 0 or $null when you reuse them..


I have updated the script posted earlier to show these counters., and the output should look something like this:


I hope you find this helpful or useful. Feedback or suggestions are appreciated :)