office 365 – Authentication with SharePoint Online in Microsoft 365 and simple console application

I need your help with my small application.

I need to create easy console application which will sign into Share Point Online and download some documents from library.

When I am doing this on older SharePoint version it works fine. Unfortunately, its not working on SharePoint Online in Microsoft 365.

string userName = "email.email@email.com";
            string passwordPlain = "passw0rd";
            string baseUrl = "https://teams.mypage.com/sites/TESTSITE/";

            var passWord = new SecureString();

            foreach (char c in passwordPlain) 
                passWord.AppendChar(c);

            var creds = new SharePointOnlineCredentials(userName, passWord);
            
            try
            {
                var authDiguestToken = GetRequestDigest(creds, baseUrl);
               

                Console.WriteLine("Result " + authDiguestToken);
            }
            catch (Exception ex)
            {
                Console.WriteLine("nn Exception: nn " + ex.Message);
            }

So in this example I am going to get token value and display on console.

 private static string GetRequestDigest(SharePointOnlineCredentials creds, string baseUrl)
        {
            var client = new RestClient(baseUrl + "_api/");
            var digestRequest = new RestRequest("contextinfo", Method.POST);
            digestRequest.AddHeader("Accept", "application/json");

            //authentication cookie
            client.CookieContainer = new CookieContainer();
            client.CookieContainer.SetCookies(new Uri(baseUrl), creds.GetAuthenticationCookie(new Uri(baseUrl)));

            //I'm using dynamic jsut for demo, it's better to use some strongly typed class  
            return client.Execute<string>(digestRequest).Data;
        }

So in this case I am using cookie, not sure why its not working with other SharePoint Online in Microsoft 365.

Is there something special which needs to be done to get authenticated?
Please help

Adam

Office 365 Online Archive – User has access from Portal, but not Outlook

One of our users is unable to access an online archive as part of a mailbox in Office365. I have checked their permissions and can confirm that they have both FullAccess to the top level of the mailbox and owner permission to the archive folder mailboxname:archive.

They can access the archive from the online version of Outlook, but when accessed from the Outlook client it is not visible. Just the top level mailbox. I have tried removing and re-adding the mailbox, but it is still the same.

The client version they have is “Office 365 ProPlus – version 1908 (Build 11929.20838)”.

Microsoft 365 Changing DNS records

I’ve got my email setup with MS 365 and my web hosting with a separate company (EasySpace / NameCity).

I can’t log in to my webspace becaus… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1833539&goto=newpost

Wise Care 365 Pro 5.6.2 Build 558 Multilingual | Nulled Scripts Download

Wise Care 365 Pro 5.6.2 Build 558 Multilingual | File size: 11 MB

Clean registry and junk files from your PCs. Protect your privacy and make your PCs more secure. Provide a better option of optimizing and accelerating your computer!

Protect Your System in Real Time
Take prompt action once some applications attempt to make modification without your permission. This protector will identify and stop any processes that try to secretly change Windows registry.
Prevent programs from changing your Internet Explorer homepage
Prevent any unwanted new application from adding into the windows startup
Prevent changes to the default browser

A Comprehensive PC Cleaner
Wise Care 365 is definitely the preferred option for billions of Windows users who want to keep their Windows PC at peak performance. It removes invalid Windows registry entries and cleans useless files, download history, browsing history, invalid shortcuts, traces, cache, cookies, passwords, Windows components, and files with specific extensions – allowing Windows system to run faster and freeing up more valuable hard disk space in seconds. It is also packed with customizable cleaning options for advanced users.

Worlds Fastest System Optimization Tool
Wise Care 365 adopts worlds top technology. It optimizes PC’s performance, defrags disks and the Windows registry, and manages the startup process as well as services.
Over time, your computers hard disk drive and registry will become cluttered. Wise Care 365 can defrag the drive and registry to make them organized, thus making your computer run faster and more stable. You are going to be amazed by its blazing defrag speed.
Many programs run silently in the background when you start up your computer. Wise Care 365 helps you disable unneeded programs that consume your precious system resources and improves PC startup speed.

Your Ultimate Computer Privacy Protector
Wise Care 365 protects your computer privacy from prying eyes.
Privacy Eraser erases all traces of any computer operation like browsing history and accessed files, so any computer operation you do stays confidential.
Disk Eraser prevents deleted data from being retrieved by third parties.
Disk Shredder can delete files thoroughly so that they can never be recovered.

A Powerful System and Hardware Monitoring Utility
System Monitor displays all the essential information of your computer.
Process Monitor gives users a clear and neat list of all the processes run by user and system, users can shut down any process they don;t need to make the PC run more smoothly.
Hardware Overview offers users both brief and detailed information of all the crucial hardware components, letting users know about their computers at a glance.

A Perfect Platform for Mutual Assistance on PC Problems
The Wise Assistance section of Wise Care 365 is a community for mutual assistance and knowledge sharing on PC problems. Users can ask any questions about their computers, while our experts and other users with relevant knowledge, experience or techniques will answer these questions. Wise Care 365 holds millions of users across the world, so users can get faster and better solutions. It is a connection between users and experts to get faster and better solutions for computer problems.

Features & Benefits:
One-click PC Checkup
Clean & Speed-up Computer
Hardware Inventory
Privacy Protection
Real-time System Protection
Silent Mode
Faster Boot-up Speed
Free-up More Drive Space
Automatic Updates

What’s new:

Homepage

.

office 365 – How can I force SPFX webpart to not show cached data in SharePoint online

I believe this issue is due to the way navigation is handled in SharePoint Modern Pages.

I’ve had this issue only with Internet Explorer though and in another context, but this is due to the fact the page is not actually reloaded and the Modern React FrameWork uses components in cache if they have already been rendered (only in IE for my case).

What I believe you can do is use the following post about detecting navigation changes in an Application Customizer, and send an event to be received by your webparts. When a webpart listens and receives such an event, they need to re-render or reprocess whatever they did in their componentDidMount()

StackOverflow – Detect Navigation Change in SPFx Application Customizer

GitHub – React RxJs Event Emitter

Don’t hesitate if you need more info,

Hope this helps !

How to upload all my folders and files from Local to target folder in Sharepoint online using c# and office 365 Authentication?

I think you can create Console application with C# or use Powershell. I think the Powershell way is too easy and there are lot of articles available in web.

 #Specify tenant admin and site URL  
$User = "Your id"  
$Password = 'Your Password'  
$SiteURL = "Site URL/"  
$Folder = "C:FolderFolderinside"  
#Path where you want to Copy  
$DocLibName = "Documents"  
#Docs library  
# Add references to SharePoint client assemblies and authenticate to Office 365 site - required  
for CSOM  
Add - Type - Path "C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions16ISAPIMicrosoft.SharePoint.Client.dll"  
Add - Type - Path "C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions16ISAPIMicrosoft.SharePoint.Client.Runtime.dll"#  
Bind to site collection  
$Context = New - Object Microsoft.SharePoint.Client.ClientContext($SiteURL)  
$Creds = New - Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($User, (ConvertTo - SecureString $Password - AsPlainText - Force))  
$Context.Credentials = $Creds  
Retrieve list  
$List = $Context.Web.Lists.GetByTitle($DocLibName)  
$Context.Load($List)  
$Context.ExecuteQuery()  
# Upload file  
Foreach($File in (dir $Folder - File))  
{  
    $FileStream = New - Object IO.FileStream($File.FullName, (System.IO.FileMode)::Open)  
    $FileCreationInfo = New - Object Microsoft.SharePoint.Client.FileCreationInformation  
    $FileCreationInfo.Overwrite = $true  
    $FileCreationInfo.ContentStream = $FileStream  
    $FileCreationInfo.URL = $File  
    $Upload = $List.RootFolder.Files.Add($FileCreationInfo)  
    $Context.Load($Upload)  
    $Context.ExecuteQuery()  
}  

with folder

function UploadImages($weburl)
{
$docLibraryName = "TestLibrary"
$localFolderPath = "c:InstallDocs"
$subFolderName="SubFolder" ##Pass your Folder Name Here

Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue 
$web = Get-SPWeb -Identity $webUrl

$docLibrary = $web.Lists($docLibraryName) 
#Attach to local folder and enumerate through all files
$files = ((System.IO.DirectoryInfo) (Get-Item $localFolderPath)).GetFiles() | ForEach-Object { 

    #Create file stream object from file
    $fileStream = ((System.IO.FileInfo) (Get-Item $_.FullName)).OpenRead()
    $contents = new-object byte() $fileStream.Length
    $fileStream.Read($contents, 0, (int)$fileStream.Length);
    $fileStream.Close(); 

    write-host "Copying" $_.Name "to" $docLibrary.Title "in" $web.Title "..." 

    #Add file
    $folder = $web.getfolder($docLibrary.Title+"https://sharepoint.stackexchange.com/"+$subFolderName) ##Changed code here to get subfolder
    $spFile = $folder.Files.Add($folder.Url + "https://sharepoint.stackexchange.com/" + $_.Name, $contents, $true)
    $spItem = $spFile.Item 



Write-Host -f Green "Added Images to library !!!"
}
}

Example with C# click here

sharepoint online – How to use the Office 365 profile hover card (defaultHoverField) without a person column

On my Sharepoint List, I want to store different team members in something like a text column instead of a person column so that I can handle inactive users or users who have left the organization, while still keeping the default hover effect with the full persona card by using column formatting via defaultHoverField. Is there any way to achieve this?
(eg. by mimicking the person field data in array (“Id”: “…”,
“AccountEnabled”: true,…) to work with defaultHoverField)

Office 365 For WHMCS 2.3.0 gets in the WHMCS V8.1 groove! | NewProxyLists

1. Office 365 For WHMCS 2.3.0

Our freshly rolled out Office 365 For WHMCS 2.3.0 is armed and ready to enhance the charm of your Microsoft Office 365 offerings with a solid dose of novel attributes.

After the series of comprehensive examinations, the module now boasts impeccable compatibility with WHMCS V8.1 as well as the “Twenty-One” system theme!

Another new functionality we have lately been laboring over extends the tools available in your client area, allowing the possibility to manage addons for Office 365 users if the “Extended” type is used for the ordered services.

Embrace other brand-new, golden solutions from Office 365 For WHMCS 2.3.0!

2. EasyDCIM v1.7.2

Another pioneering version of EasyDCIM has just been made official! This hefty 1.7.2 update is centered on one particular functionality everyone has been dying for – VLAN management support!

  • Switch Management v1.3.0 gathers all features required to carry out such essential operations on VLANs as their addition, assignment to the network port, as well as automatic VLAN detection during the polling of a device.
  • IP Address Management v1.8.0 brings a wealth of ease to the device’s provisioning process through the option to set VLANs as provisioning VLANs.

Let the EasyDCIM Blog indulge you with a brief reading on this exciting release!

3. WHMCS 8.1 Release Candidate

Our Product Development Team spares no effort to make sure that every single one of the WHMCS modules from our Marketplace has been thoroughly readjusted in terms of a visual and functional integration with WHMCS V8.1. Even though the system is not yet generally available, we already managed to roll out quite a number of updates – and still counting!

Keep an eye on our Forums for more compatibility news coming soon!

Need Custom Software Development For Your Business?

Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!

 

Unable to re-add the office 365 owners inside the sharepoint site collection admin

I have create a new Private sharepoint team site named TestUserPer1, where by default i will get this group added as site collection admin:-

enter image description here

Now i mistakenly remove the above group from the site collection admin, so i tried to re-add it again, but the auto-complete did not return any entity named “TestUserPer1 Owners” … any advice (i only get “TestUserPer1 Members”)?

enter image description here

Thanks